From 0027abcb1a5fd672c9d0504cd312891639cd35b7 Mon Sep 17 00:00:00 2001
From: westi
Date: Thu, 11 Nov 2010 10:55:06 +0000
Subject: [PATCH] Strip back the stats in the memory based object cache to
something less verbose and useless.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-includes/cache.php | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/wp-includes/cache.php b/wp-includes/cache.php
index 983e6baa0..dbefabf25 100644
--- a/wp-includes/cache.php
+++ b/wp-includes/cache.php
@@ -451,16 +451,11 @@ class WP_Object_Cache {
echo "Cache Hits: {$this->cache_hits}
";
echo "Cache Misses: {$this->cache_misses}
";
echo "
";
-
+ echo '";
- echo esc_html( print_r( $cache, true ) );
- echo "
";
+ echo "Group: $group - ( " . number_format( strlen( serialize( $cache ) ) / 1024, 2 ) . 'k )';
}
+ echo '';
}
/**