We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beb3a42 commit 40caa8eCopy full SHA for 40caa8e
1 file changed
src/wp-includes/class-wp-block-supports.php
@@ -182,7 +182,7 @@ function get_block_wrapper_attributes( $extra_attributes = array() ) {
182
// Attribute values are concatenated or overridden depending on the attribute type.
183
// This is hardcoded on purpose, as we only support a fixed list of attributes.
184
$attribute_merge_callbacks = array(
185
- 'style' => function ( $new_attribute, $extra_attribute ) {
+ 'style' => static function ( $new_attribute, $extra_attribute ) {
186
$styles = array_filter(
187
array(
188
rtrim( trim( $extra_attribute ), ';' ),
0 commit comments