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

Check for escaping l10n functions #287

Open
philipjohn opened this issue Jul 7, 2015 · 3 comments
Open

Check for escaping l10n functions #287

philipjohn opened this issue Jul 7, 2015 · 3 comments

Comments

@philipjohn
Copy link
Contributor

Warn for uses of unescaped localisations such as __() which should really be esc_html__() instead.

See https://codex.wordpress.org/L10n

@david-binda
Copy link
Contributor

@gudmdharalds could you look into this?

@gudmdharalds
Copy link
Contributor

Looking into this one.

@westonruter
Copy link

This is also handled by the PHP_CodeSniffer WordPress.XSS.EscapeOutput sniff.

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

No branches or pull requests

4 participants