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:
parent
995de61c9d
commit
44a1c8b227
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue