Skip to content

Commit acf25f6

Browse files
committed
Fix PHPCS error
1 parent 517f69c commit acf25f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/class-wp-block-supports.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ function get_block_wrapper_attributes( $extra_attributes = array() ) {
200200
return implode( ' ', $classes );
201201
},
202202
'id' => function ( $new_attribute, $extra_attribute ) {
203-
return $extra_attribute !== '' ? $extra_attribute : $new_attribute;
203+
return '' !== $extra_attribute ? $extra_attribute : $new_attribute;
204204
},
205205
'aria-label' => function ( $new_attribute, $extra_attribute ) {
206-
return $extra_attribute !== '' ? $extra_attribute : $new_attribute;
206+
return '' !== $extra_attribute ? $extra_attribute : $new_attribute;
207207
},
208208
);
209209

0 commit comments

Comments
 (0)