Upgrade/Install: Restore casting `$filter_payload` to an object in `WP_MS_Themes_List_Table::prepare_items()`.

Follow-up to [48750], [49241].

See #50875.
Built from https://develop.svn.wordpress.org/trunk@49243


git-svn-id: http://core.svn.wordpress.org/trunk@49005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-10-20 17:44:06 +00:00
parent c8fbc04276
commit 94b088339c
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
'requires_php' => '', 'requires_php' => '',
); );
$filter_payload = array_merge( $filter_payload, array_intersect_key( $theme_data, $filter_payload ) ); $filter_payload = (object) array_merge( $filter_payload, array_intersect_key( $theme_data, $filter_payload ) );
$auto_update_forced = wp_is_auto_update_forced_for_item( 'theme', null, $filter_payload ); $auto_update_forced = wp_is_auto_update_forced_for_item( 'theme', null, $filter_payload );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.6-alpha-49242'; $wp_version = '5.6-alpha-49243';
/** /**
* 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.