From ed26d9466764bc265ba7c1084c56a57212285de6 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Wed, 18 Mar 2015 22:07:28 +0000 Subject: [PATCH] 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 --- wp-includes/update.php | 1 - wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/update.php b/wp-includes/update.php index b19b27c87f..98d529ec35 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' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index b13bbd1b7d..714643f48a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.