envato / envato-theme-check

The WordPress Theme Check plugin for Envato
GNU General Public License v2.0
208 stars 57 forks source link

Escaped translation strings #23

Closed stefanwebicon closed 6 years ago

stefanwebicon commented 6 years ago

Hi, I have a little problem. I get this: "All translatable strings must be escaped to prevent malicious code injection from a translation.", even if I use esc_html(), esc_html_e(), esc_attr__() or esc_html( () ). How should I escape them correctly?

Screenshot: https://prnt.sc/k9vb4c

scottparry commented 6 years ago

This change has been reverted for now as it's causing too many false positives.