All theme text strings are to be translatable and properly escaped.
https://gist.github.com/kailoon/01fa8e95d2e910e666c6
I am using all string in (‘my string’, ‘text-domain’)
esc_html ( ‘Some String’, ‘text-domain’ );
please tell me how can I solve this issue?
HVSH
October 20, 2015, 3:45pm
2
If you explain your question properly someone will help. But theres no way to understand what you are asking. Both translation functions are fine, for simple strings esc_html__ is an overkill
Hey Thank you for your Answer But Can you tell me How to resolve this issue Please…
1 Like
HVSH
October 20, 2015, 4:27pm
4
Use __()
to translate strings, esc_html__
is used to translate string and then escape it. http://jamesc.id.au/2012/05/escape-translated-strings-wordpress-plugin-theme/
Read this it might help
Thank You Go_themes foe your Valuable answer
Is there anyOne to give us a solution for this error…?