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

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

See #50875.

git-svn-id: https://develop.svn.wordpress.org/trunk@49243 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-10-20 17:42:36 +00:00
parent bf35285a39
commit 6e5edfe6cf
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
'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 );