X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa6ee2c363cdfdebcb4b76e4d9c4347a4cb19065..refs/tags/wordpress-4.2:/wp-includes/update.php diff --git a/wp-includes/update.php b/wp-includes/update.php index a32b1e88..98d529ec 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -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' ); } @@ -690,4 +689,4 @@ add_action( 'update_option_WPLANG', 'wp_clean_update_cache' , 10, 0 ); add_action( 'wp_maybe_auto_update', 'wp_maybe_auto_update' ); -add_action('init', 'wp_schedule_update_checks'); +add_action( 'init', 'wp_schedule_update_checks' );