wp-cli / scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
MIT License
165 stars 87 forks source link

Fix deprecated whitelist code flag #236

Closed burhandodhy closed 5 years ago

burhandodhy commented 5 years ago

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

schlessera commented 5 years ago

Thanks for the PR, @burhandodhy !