diff --git a/mu-plugins/blocks/query-filter/render.php b/mu-plugins/blocks/query-filter/render.php index 08711b53d..e0beab420 100644 --- a/mu-plugins/blocks/query-filter/render.php +++ b/mu-plugins/blocks/query-filter/render.php @@ -41,7 +41,7 @@ 'hasHover' => false, 'hasMultiple' => $has_multiple, ]; -$encoded_state = wp_json_encode( [ 'wporg' => [ 'queryFilter' => $init_state ] ] ); +$encoded_state = wp_json_encode( $init_state ); // Set up a unique ID for this filter. $html_id = wp_unique_id( "filter-{$settings['key']}-" ); @@ -66,43 +66,43 @@ ?>