From 954dd7f59d0b05d99df22a55ab1a5c6932d9119c Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 30 Aug 2010 19:59:16 +0000 Subject: [PATCH] Update last_changed when cleaning comment cache. fixes #14713 git-svn-id: https://develop.svn.wordpress.org/trunk@15550 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 9ae70e49cc..f7cedaa5d5 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'); } /**