Use correct cache bucket. Fixes copy-paste error in r23320. props kurtpayne. see #23167.

git-svn-id: https://develop.svn.wordpress.org/trunk@23341 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-01-24 17:21:55 +00:00
parent 995de61c9d
commit 44a1c8b227
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class WP_Comment_Query {
$last_changed = wp_cache_get( 'last_changed', 'comment' );
if ( ! $last_changed ) {
$last_changed = 1;
wp_cache_set( 'last_changed', $last_changed, 'posts' );
wp_cache_set( 'last_changed', $last_changed, 'comment' );
}
$cache_key = "get_comments:$key:$last_changed";