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:
parent
bf35285a39
commit
6e5edfe6cf
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user