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

wordpress

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


#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


#3

Hey Thank you for your Answer But Can you tell me How to resolve this issue Please…


#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


#5

Thank You Go_themes foe your Valuable answer :smile:


#6

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