Update WP and plugins
This commit is contained in:
parent
10a4713229
commit
1fb77fc4ff
864 changed files with 101724 additions and 78262 deletions
|
@ -575,6 +575,11 @@ class Akismet {
|
|||
if ( $new_status == $old_status )
|
||||
return;
|
||||
|
||||
if ( 'spam' === $new_status || 'spam' === $old_status ) {
|
||||
// Clear the cache of the "X comments in your spam queue" count on the dashboard.
|
||||
wp_cache_delete( 'akismet_spam_count', 'widget' );
|
||||
}
|
||||
|
||||
# we don't need to record a history item for deleted comments
|
||||
if ( $new_status == 'delete' )
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue