Changeset 7878
- Timestamp:
- 05/02/08 19:42:44 (6 months ago)
- Files:
-
- trunk/wp-includes/comment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/comment.php
r7868 r7878 454 454 $post_id = (int) $post_id; 455 455 456 $count = wp_cache_get( 'comments', "counts-{$post_id}");456 $count = wp_cache_get("comments-{$post_id}", 'counts'); 457 457 458 458 if ( false !== $count ) … … 480 480 481 481 $stats = (object) $stats; 482 wp_cache_set( 'comments', $stats, "counts-{$post_id}");482 wp_cache_set("comments-{$post_id}", $stats, 'counts'); 483 483 484 484 return $stats;
