]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/update.php
WordPress 4.2.4-scripts
[autoinstalls/wordpress.git] / wp-includes / update.php
index a32b1e88cb1e2fc916f1baa6b32a1446a8c5a35f..98d529ec351bbf639851de9c5deb28e2225cb240 100644 (file)
@@ -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' );