Fix a typo in [31872].
see #31738. Built from https://develop.svn.wordpress.org/trunk@31873 git-svn-id: http://core.svn.wordpress.org/trunk@31852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9c409e31f2
commit
ce6c00f140
|
@ -125,15 +125,15 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||||
// Extra info if known. array_merge() ensures $plugin_data has precedence if keys collide.
|
// Extra info if known. array_merge() ensures $plugin_data has precedence if keys collide.
|
||||||
if ( isset( $plugin_info->response[ $plugin_file ] ) ) {
|
if ( isset( $plugin_info->response[ $plugin_file ] ) ) {
|
||||||
$plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data );
|
$plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data );
|
||||||
// Make sure that $plugins['upgrade'] also recieves the extra info since it is used on ?plugin_status=upgrade
|
// Make sure that $plugins['upgrade'] also receives the extra info since it is used on ?plugin_status=upgrade
|
||||||
if (isset( $plugins['upgrade'][ $plugin_file ] ) ) {
|
if ( isset( $plugins['upgrade'][ $plugin_file ] ) ) {
|
||||||
$plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data );
|
$plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->response[ $plugin_file ], $plugin_data );
|
||||||
}
|
}
|
||||||
|
|
||||||
} elseif ( isset( $plugin_info->no_update[ $plugin_file ] ) ) {
|
} elseif ( isset( $plugin_info->no_update[ $plugin_file ] ) ) {
|
||||||
$plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data );
|
$plugins['all'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data );
|
||||||
// Make sure that $plugins['upgrade'] also recieves the extra info since it is used on ?plugin_status=upgrade
|
// Make sure that $plugins['upgrade'] also receives the extra info since it is used on ?plugin_status=upgrade
|
||||||
if (isset( $plugins['upgrade'][ $plugin_file ] ) ) {
|
if ( isset( $plugins['upgrade'][ $plugin_file ] ) ) {
|
||||||
$plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data );
|
$plugins['upgrade'][ $plugin_file ] = $plugin_data = array_merge( (array) $plugin_info->no_update[ $plugin_file ], $plugin_data );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-beta2-31872';
|
$wp_version = '4.2-beta2-31873';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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