Changeset 7878
- Timestamp:
- 05/02/2008 07:42:44 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note: See TracChangeset
for help on using the changeset viewer.