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 ac2fb56 commit 57b5128Copy full SHA for 57b5128
src/wp-includes/html-api/class-wp-css-id-selector.php
@@ -48,8 +48,8 @@ public function matches( WP_HTML_Tag_Processor $processor ): bool {
48
$case_insensitive = $processor->is_quirks_mode();
49
50
return $case_insensitive
51
- ? 0 === strcasecmp( $id, $this->id )
52
- : $processor->get_attribute( 'id' ) === $this->id;
+ ? 0 === strcasecmp( $id, $this->id )
+ : $id === $this->id;
53
}
54
55
/**
0 commit comments