Hello All,
I am working my First WordPress Theme. I got Soft Rejected in the following reason.
====================================================================
All theme text strings are to be translatable and properly escaped.
It’s possible for translators to sneak HTML and JS into translation files or even just inadvertently mess something up. So, it’s good practice to simply escape them. https://github.com/WordPress/twentysixteen/commit/112a2a952e8906931f30a2a83bffe3a4d12ccef0
For example(s) and there are more:
-
http://envato.d.pr/kA0z
======================================================
Now i’m confused, am i supposed to change TGM config file from this?
'name' => __( 'Contact Form 7', 'gtbuilder' ),
Change to
'name' => esc_html__( 'Contact Form 7', 'gtbuilder' ),
According to the github link mentioned above, isn’t it over escaping?
Can anyone please clear this confusion and help me?
Thanks in advance.
RadiusTheme