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:
parent
950901ca92
commit
925124db11
|
@ -1859,6 +1859,8 @@ function weblog_ping($server = '', $path = '') {
|
||||||
function clean_comment_cache($ids) {
|
function clean_comment_cache($ids) {
|
||||||
foreach ( (array) $ids as $id )
|
foreach ( (array) $ids as $id )
|
||||||
wp_cache_delete($id, 'comment');
|
wp_cache_delete($id, 'comment');
|
||||||
|
|
||||||
|
wp_cache_set('last_changed', time(), 'comment');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue