Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated whitelist code flag #236

Merged
merged 1 commit into from Aug 25, 2019
Merged

Conversation

@burhandodhy
Copy link
Contributor

burhandodhy commented Aug 21, 2019

// 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

// 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
@burhandodhy burhandodhy requested a review from wp-cli/committers as a code owner Aug 21, 2019
@schlessera schlessera added this to the 2.0.7 milestone Aug 25, 2019
@schlessera schlessera merged commit a289dff into wp-cli:master Aug 25, 2019
2 checks passed
2 checks passed
DEP All dependencies are resolved
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@schlessera

This comment has been minimized.

Copy link
Member

schlessera commented Aug 25, 2019

Thanks for the PR, @burhandodhy !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.