Skip to content

Commit

Permalink
Remove unnecessary pair of extra parens
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jul 23, 2024
1 parent 617e430 commit 6f95346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/block-template-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -1607,7 +1607,7 @@ function inject_ignored_hooked_blocks_metadata_attributes( $changes, $deprecated
}

$hooked_blocks = get_hooked_blocks();
if ( ( empty( $hooked_blocks ) && ! has_filter( 'hooked_block_types' ) ) ) {
if ( empty( $hooked_blocks ) && ! has_filter( 'hooked_block_types' ) ) {
return $changes;
}

Expand Down

0 comments on commit 6f95346

Please sign in to comment.