We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074e67d commit f3ec729Copy full SHA for f3ec729
src/wp-includes/html-api/class-wp-css-selectors.php
@@ -584,7 +584,7 @@ public function matches( WP_HTML_Processor $processor ): bool {
584
585
final class WP_CSS_Class_Selector extends WP_CSS_Selector_Parser {
586
public function matches( WP_HTML_Processor $processor ): bool {
587
- return $processor->has_class( $this->ident );
+ return (bool) $processor->has_class( $this->ident );
588
}
589
590
/** @var string */
0 commit comments