We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ea5ebf commit d68e980Copy full SHA for d68e980
1 file changed
src/wp-includes/class-wp-block-supports.php
@@ -199,7 +199,7 @@ function get_block_wrapper_attributes( $extra_attributes = array() ) {
199
$classes = array_unique( array_filter( array_map( 'sanitize_html_class', $classes ) ) );
200
return implode( ' ', $classes );
201
},
202
- 'id' => function ( $new_attribute, $extra_attribute ) {
+ 'id' => static function ( $new_attribute, $extra_attribute ) {
203
return '' !== $extra_attribute ? $extra_attribute : $new_attribute;
204
205
'aria-label' => function ( $new_attribute, $extra_attribute ) {
0 commit comments