From 411acbdf4322ea98ca3eab1f73cd7dc36418b63f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 24 Jan 2013 17:21:55 +0000 Subject: [PATCH] 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 --- wp-includes/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 14ca1dfed4..d6ecda976c 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -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";