Skip to content

Commit 06966b2

Browse files
authored
EscapeOutput: add highlight_string() to escaping functions (#1787)
EscapeOutput: add highlight_string() to escaping functions
2 parents 05c0ee4 + 2f8089f commit 06966b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WordPress/Sniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ abstract class Sniff implements PHPCS_Sniff {
149149
'filter_input' => true,
150150
'filter_var' => true,
151151
'floatval' => true,
152+
'highlight_string' => true,
152153
'intval' => true,
153154
'json_encode' => true,
154155
'like_escape' => true,

0 commit comments

Comments
 (0)