Changes in trunk/wp-includes/cache.php [16469:15148]
- File:
-
- 1 edited
-
trunk/wp-includes/cache.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cache.php
r16469 r15148 111 111 * @see WP_Object_Cache::replace() 112 112 * 113 * @param int|string $ keyWhat to call the contents in the cache113 * @param int|string $id What to call the contents in the cache 114 114 * @param mixed $data The contents to store in the cache 115 115 * @param string $flag Where to group the cache contents … … 130 130 * @see WP_Object_Cache::set() 131 131 * 132 * @param int|string $ keyWhat to call the contents in the cache132 * @param int|string $id What to call the contents in the cache 133 133 * @param mixed $data The contents to store in the cache 134 134 * @param string $flag Where to group the cache contents … … 172 172 * 173 173 * @since 2.6.0 174 * 175 * @param string|array $groups A group or an array of groups to add 174 176 */ 175 177 function wp_cache_reset() { … … 450 452 echo "<strong>Cache Misses:</strong> {$this->cache_misses}<br />"; 451 453 echo "</p>"; 452 echo '<ul>'; 454 453 455 foreach ($this->cache as $group => $cache) { 454 echo "<li><strong>Group:</strong> $group - ( " . number_format( strlen( serialize( $cache ) ) / 1024, 2 ) . 'k )</li>'; 456 echo "<p>"; 457 echo "<strong>Group:</strong> $group<br />"; 458 echo "<strong>Cache:</strong>"; 459 echo "<pre>"; 460 print_r($cache); 461 echo "</pre>"; 455 462 } 456 echo '</ul>';457 463 } 458 464
Note: See TracChangeset
for help on using the changeset viewer.