Use correct cache bucket. Fixes copy-paste error in r23320. props kurtpayne. see #23167.
git-svn-id: http://core.svn.wordpress.org/trunk@23341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user