Skip to content

Commit

Permalink
esc_attr
Browse files Browse the repository at this point in the history
  • Loading branch information
shimotmk committed Mar 5, 2025
1 parent c781d2c commit f1cf951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/search/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function render_block_core_search( $attributes ) {
}
$field_markup = sprintf(
'<div class="%s" %s>%s</div>',
implode( ' ', $field_markup_classes ),
esc_attr( implode( ' ', $field_markup_classes ) ),
$inline_styles['wrapper'],
$input . $query_params_markup . $button
);
Expand Down

0 comments on commit f1cf951

Please sign in to comment.