From 69b3664fe07fc4a3c4a996ebc9df3f2adb6381f8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 9 Oct 2010 11:38:12 +0000 Subject: [PATCH] esc_html in WP_Object_Cache::stats(). fixes #15003. git-svn-id: https://develop.svn.wordpress.org/trunk@15767 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/cache.php b/wp-includes/cache.php index 0afad7d09f..49362bc7bf 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -457,7 +457,7 @@ class WP_Object_Cache { echo "Group: $group
"; echo "Cache:"; echo "
";
-			print_r($cache);
+			echo esc_html( print_r( $cache, true ) );
 			echo "
"; } }