diff --git a/packages/block-library/src/search/index.php b/packages/block-library/src/search/index.php index 5688e2871a246..c368c2ab03dbf 100644 --- a/packages/block-library/src/search/index.php +++ b/packages/block-library/src/search/index.php @@ -188,7 +188,7 @@ function render_block_core_search( $attributes ) { ) ); $form_directives = ' - data-wp-interactive=\'"core/search"\'' + data-wp-interactive="core/search"' . $form_context . 'data-wp-class--wp-block-search__searchfield-hidden="!context.isSearchInputVisible" data-wp-on--keydown="actions.handleSearchKeydown"