Skip to content

Commit 30aef1d

Browse files
authored
EscapeOutput: add sanitize_key() to escaping functions (#1786)
EscapeOutput: add sanitize_key() to escaping functions
2 parents 45ecdf0 + a8ad671 commit 30aef1d

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
@@ -155,6 +155,7 @@ abstract class Sniff implements PHPCS_Sniff {
155155
'number_format' => true,
156156
'rawurlencode' => true,
157157
'sanitize_html_class' => true,
158+
'sanitize_key' => true,
158159
'sanitize_user_field' => true,
159160
'tag_escape' => true,
160161
'urlencode_deep' => true,

0 commit comments

Comments
 (0)