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 a532c0c commit 2e175b1Copy full SHA for 2e175b1
WordPressVIPMinimum/Sniffs/Security/ProperEscapingFunctionSniff.php
@@ -86,7 +86,7 @@ public function process_token( $stackPtr ) {
86
87
$content = $this->tokens[ $html ]['content'];
88
89
- if ( $this->tokens[ $html ]['code'] !== 'T_INLINE_HTML' ) {
+ if ( isset( Tokens::$stringTokens[ $this->tokens[ $html ]['code'] ] ) === true ) {
90
$content = Sniff::strip_quotes( $content );
91
}
92
0 commit comments