Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove unnecessary pair of extra parens
  • Loading branch information
ockham committed Jul 23, 2024
commit 6f95346a22faca400c05a16e10fb9215c64fa33e
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