Recently my theme was Soft rejected because of one issue. Please Help me

  1. 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?

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

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 :smile:

Is there anyOne to give us a solution for this error…?