Don't try to call `wp_clean_plugins_cache();` twice in `wp_clean_update_cache()`.
props TobiasBg. fixes #31503. git-svn-id: https://develop.svn.wordpress.org/trunk@31825 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e771be8f7c
commit
60f95452a4
|
@ -659,7 +659,6 @@ function wp_clean_update_cache() {
|
|||
} else {
|
||||
delete_site_transient( 'update_plugins' );
|
||||
}
|
||||
wp_clean_plugins_cache();
|
||||
wp_clean_themes_cache();
|
||||
delete_site_transient( 'update_core' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue