Skip to content

Commit

Permalink
Fix block attribute selector for the universal selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamfi99 committed Jul 12, 2024
1 parent cbdc101 commit 17c947b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/content-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ protected function source_block_attribute( $crawler, $block_attribute_definition
$selector = $block_attribute_definition['selector'] ?? null;

if ( null !== $selector ) {
$crawler = $crawler->filter( $selector );
$crawler = $crawler->children()->filter( $selector );
}

if ( $crawler->count() > 0 ) {
Expand Down

0 comments on commit 17c947b

Please sign in to comment.