Update last_changed when cleaning comment cache. fixes #14713
git-svn-id: https://develop.svn.wordpress.org/trunk@15550 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b3ef955990
commit
954dd7f59d
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user