Skip to content

Commit 35b794d

Browse files
authored
Fix deprecated whitelist code flag
// WPCS: XSS ok. is depreciated and should be replaced with // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped https://github.com/WordPress/WordPress-Coding-Standards/wiki/Whitelisting-code-which-flags-errors#escaping--xss
1 parent 34e3dbf commit 35b794d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/plugin-bootstrap.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if ( ! $_tests_dir ) {
1212
}
1313

1414
if ( ! file_exists( $_tests_dir . '/includes/functions.php' ) ) {
15-
echo "Could not find $_tests_dir/includes/functions.php, have you run bin/install-wp-tests.sh ?" . PHP_EOL; // WPCS: XSS ok.
15+
echo "Could not find $_tests_dir/includes/functions.php, have you run bin/install-wp-tests.sh ?" . PHP_EOL; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1616
exit( 1 );
1717
}
1818

0 commit comments

Comments
 (0)