Don't try to call `wp_clean_plugins_cache();` twice in `wp_clean_update_cache()`.

props TobiasBg.
fixes #31503.
Built from https://develop.svn.wordpress.org/trunk@31825


git-svn-id: http://core.svn.wordpress.org/trunk@31807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-03-18 22:07:28 +00:00
parent 0d870b2d4e
commit ed26d94667
2 changed files with 1 additions and 2 deletions

View File

@ -659,7 +659,6 @@ function wp_clean_update_cache() {
} else { } else {
delete_site_transient( 'update_plugins' ); delete_site_transient( 'update_plugins' );
} }
wp_clean_plugins_cache();
wp_clean_themes_cache(); wp_clean_themes_cache();
delete_site_transient( 'update_core' ); delete_site_transient( 'update_core' );
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-beta1-31824'; $wp_version = '4.2-beta1-31825';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.