From 925124db11065b70f302731cdaef98f9c9365901 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 30 Aug 2010 19:59:16 +0000 Subject: [PATCH] Update last_changed when cleaning comment cache. fixes #14713 git-svn-id: http://svn.automattic.com/wordpress/trunk@15550 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 9ae70e49c..f7cedaa5d 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -1859,6 +1859,8 @@ function weblog_ping($server = '', $path = '') { function clean_comment_cache($ids) { foreach ( (array) $ids as $id ) wp_cache_delete($id, 'comment'); + + wp_cache_set('last_changed', time(), 'comment'); } /**