686 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Provided great contribution to our forums
  • Has been a beta tester for an Envato feature
+4 more
Gareth_Gillman says

I am having an issue with the WP theme check plugin, it’s saying I should be adding “text domain” to all my inputs (which I know) but I already have them e.g.

Line 43: <?php __( 'Save All Changes' ); ?>

According to the WP codex, that is the code I should be using, so why is the theme check plugin still saying it’s not right?

Any help is appreciated as I would like to remove the message (currently got 65 of them, although I am using the text domain…arghhh).

3072 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

Your example does not contain the domain, which is the second parameter for the __ function

3266 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says
<?php __( 'Save All Changes', 'your_text_domain' ); ?>
686 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Provided great contribution to our forums
  • Has been a beta tester for an Envato feature
+4 more
Gareth_Gillman says

<?php __( 'Save All Changes', 'your_text_domain' ); ?>

Ha oops, I blame it on tired eyes :D

707 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+2 more
ChillThemes says


<?php __( 'Save All Changes', 'your_text_domain' ); ?>
Ha oops, I blame it on tired eyes :D

Oh I’ve been there plenty of times, eyes so tired you can’t see what’s right in front you.

For future reference here’s a list of localization functions you can use: http://codex.wordpress.org/L10n

by
by
by
by
by
by