Skip to content

Commit e1c648d

Browse files
authored
Merge pull request #1887 from marcortola/fix-type
Minor type hint fix
2 parents 3ee6c4f + 45d08f2 commit e1c648d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/Sniffs/Security/EscapeOutputSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public function process_token( $stackPtr ) {
456456
"All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '%s'.",
457457
$ptr,
458458
'OutputNotEscaped',
459-
$content
459+
array( $content )
460460
);
461461
}
462462

0 commit comments

Comments
 (0)