From 6e5edfe6cf38633d21a9024fa89344828ac89d44 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Oct 2020 17:42:36 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/class-wp-ms-themes-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php index b3df81c008..a22fcb80bb 100644 --- a/src/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/src/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -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 );