From 7bb63ebe44075ced597fde9fab9983ba614266fb Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 9 Oct 2010 11:38:12 +0000 Subject: [PATCH] esc_html in WP_Object_Cache::stats(). fixes #15003. git-svn-id: http://svn.automattic.com/wordpress/trunk@15767 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 "
"; } }