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

Warn on escape issues#249

Open
stevegrunwell wants to merge 3 commits intoAutomattic:masterfrom
stevegrunwell:warn-on-escape-issues
Open

Warn on escape issues#249
stevegrunwell wants to merge 3 commits intoAutomattic:masterfrom
stevegrunwell:warn-on-escape-issues

Conversation

@stevegrunwell
Copy link
Copy Markdown

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