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:
parent
0d870b2d4e
commit
ed26d94667
|
@ -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' );
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue