mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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
This commit is contained in:
parent
947d04f323
commit
502515974c
@ -242,7 +242,7 @@ function list_plugin_updates() {
|
|||||||
foreach ( (array) $plugins as $plugin_file => $plugin_data) {
|
foreach ( (array) $plugins as $plugin_file => $plugin_data) {
|
||||||
$info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug ));
|
$info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug ));
|
||||||
if ( is_wp_error( $info ) ) {
|
if ( is_wp_error( $info ) ) {
|
||||||
continue;
|
$info = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get plugin compat for running version of WordPress.
|
// Get plugin compat for running version of WordPress.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user