Open philipjohn opened 9 years ago
Warn for uses of unescaped localisations such as __() which should really be esc_html__() instead.
__()
esc_html__()
See https://codex.wordpress.org/L10n
@gudmdharalds could you look into this?
Looking into this one.
This is also handled by the PHP_CodeSniffer WordPress.XSS.EscapeOutput sniff.
WordPress.XSS.EscapeOutput
Warn for uses of unescaped localisations such as
__()
which should really beesc_html__()
instead.See https://codex.wordpress.org/L10n