From 502515974cca659347515080abbe0b55968b35c9 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 9 Feb 2015 06:32:26 +0000 Subject: [PATCH] Updates: Display plugin update rows even for plugins which are not hosted by WordPress.org or the HTTP request times out on. See #29583. Fixes #30767 for trunk. Built from https://develop.svn.wordpress.org/trunk@31382 git-svn-id: http://core.svn.wordpress.org/trunk@31363 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/update-core.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 01d886d846..fe0078743c 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -242,7 +242,7 @@ function list_plugin_updates() { foreach ( (array) $plugins as $plugin_file => $plugin_data) { $info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug )); if ( is_wp_error( $info ) ) { - continue; + $info = false; } // Get plugin compat for running version of WordPress. diff --git a/wp-includes/version.php b/wp-includes/version.php index 73b194cacd..d836a7922b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31381'; +$wp_version = '4.2-alpha-31382'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.