Skip to content
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.

Warn on escape issues #249

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Warn on escape issues #249

wants to merge 3 commits into from

Conversation

stevegrunwell
Copy link

Though I hate to admit it, this check actually came from personal experience: I needed to add some additional escaping per WordPress.com VIP's feedback, but I ended up with something like <?php esc_url( the_permalink() ); ?>, where the URL being output wasn't actually being escaped via esc_url().

Pull-request also adds tests for current EscapingCheck class.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant