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

Exclude string from escape warning #162

Merged
merged 1 commit into from
Jul 20, 2018

Conversation

NicktheGeek
Copy link

The bootstrap.php file generates an error in wpcs sniff because there are two unescapped items. This error is generated with the WordPress files are not loaded by the bootstrap file, so the escape functions are not available.

The solve is to use a line comment that will prevent that from generating an error in the sniff.

addresses #109

The bootstrap.php file generates an error in wpcs sniff because there are two unescapped items. This error is generated with the WordPress files are not loaded by the bootstrap file, so the escape functions are not available.

The solve is to use a line comment that will prevent that from generating an error in the sniff.
@schlessera schlessera added this to the 1.1.4 milestone Jul 20, 2018
@schlessera schlessera merged commit 0065117 into wp-cli:master Jul 20, 2018
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants