From 93fced2d15d31e7fc2c0c2d725bf3d30b6111edc Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 9 Feb 2015 21:50:29 +0000 Subject: [PATCH] Revert [30696] pending further investigation. See #31011, #13071 Built from https://develop.svn.wordpress.org/trunk@31390 git-svn-id: http://core.svn.wordpress.org/trunk@31371 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/update.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/update.php b/wp-includes/update.php index 2e2ef9ebb3..c73ee0a32e 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -521,14 +521,12 @@ function wp_get_update_data() { $counts = array( 'plugins' => 0, 'themes' => 0, 'wordpress' => 0, 'translations' => 0 ); if ( $plugins = current_user_can( 'update_plugins' ) ) { - wp_update_plugins(); // Check for Plugin updates $update_plugins = get_site_transient( 'update_plugins' ); if ( ! empty( $update_plugins->response ) ) $counts['plugins'] = count( $update_plugins->response ); } if ( $themes = current_user_can( 'update_themes' ) ) { - wp_update_themes(); // Check for Theme updates $update_themes = get_site_transient( 'update_themes' ); if ( ! empty( $update_themes->response ) ) $counts['themes'] = count( $update_themes->response ); diff --git a/wp-includes/version.php b/wp-includes/version.php index cc85bac013..37fdc83791 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31389'; +$wp_version = '4.2-alpha-31390'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.