vip-scanner icon indicating copy to clipboard operation
vip-scanner copied to clipboard

Check for escaping l10n functions

Open philipjohn opened this issue 9 years ago • 3 comments

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

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

philipjohn avatar Jul 07 '15 16:07 philipjohn

@gudmdharalds could you look into this?

david-binda avatar Mar 08 '16 12:03 david-binda

Looking into this one.

gudmdharalds avatar Mar 09 '16 16:03 gudmdharalds

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

westonruter avatar Mar 11 '16 18:03 westonruter