Skip to content

Commit

Permalink
Update class-import.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Tropicalista authored Jul 8, 2024
1 parent 39ad0d3 commit 02fbb8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ function( $block ) {
$parent = array_filter(
$blocks,
function( $block ) {
return ! isset( $block->parent ) || ! count( $block->parent );
return ! isset( $block->parent ) || ! count( $block->parent ) || ! isset( $block->ancestor ) || ! count( $block->ancestor );
}
);

Expand Down

0 comments on commit 02fbb8d

Please sign in to comment.