We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In some instances using wp_json_encode() is more applicable than esc_attr() and esc_url(), for instance here:
wp_json_encode()
esc_attr()
esc_url()
<script type='text/javascript'> somefunction('somefuncprefix_<?php echo esc_attr( $myid ); ?>_div').setup({ file: '<?php echo esc_url( $myurl ); ?>', }) </script>
The ruleset should catch these.
The text was updated successfully, but these errors were encountered:
Related: #113 -- Closing in favour of it.
Sorry, something went wrong.
No branches or pull requests
In some instances using
wp_json_encode()
is more applicable thanesc_attr()
andesc_url()
, for instance here:The ruleset should catch these.
The text was updated successfully, but these errors were encountered: