I am trying to develop a theme and trying to escape a string using
esc_attr__() fuction. Here is how I implemented it.
$title = stoic_get_the_site_title(); echo esc_attr__($title, 'stoic');
But Themecheck plugin is giving me this error:
WARNING: Found a translation function that is missing a text-domain. Function esc_attr__, with the arguments 'stoic'
What is the proper way to do it so that Themecheck doesn't show this type of error?