Update last_changed when cleaning comment cache. fixes #14713

git-svn-id: http://svn.automattic.com/wordpress/trunk@15550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-08-30 19:59:16 +00:00
parent 950901ca92
commit 925124db11
1 changed files with 2 additions and 0 deletions

View File

@ -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');
}
/**