Skip to content

Commit 9385487

Browse files
authored
Keep the old code for trigger_error
Per #2374 (comment)
1 parent 20c8503 commit 9385487

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
@@ -414,7 +414,7 @@ public function process_matched_token( $stackPtr, $group_name, $matched_content
414414
return $end;
415415
}
416416

417-
return $this->check_code_is_escaped( $message_param['start'], ( $message_param['end'] + 1 ), 'ErrorNotEscaped' );
417+
return $this->check_code_is_escaped( $message_param['start'], ( $message_param['end'] + 1 ), 'OutputNotEscaped' );
418418
}
419419

420420
/*

0 commit comments

Comments
 (0)