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).
- Community Superstar
- Item was Featured
- Author was Featured
- Has been a member for 5-6 years
- Won a Competition
- Sold between 50 000 and 100 000 dollars
- Bought between 10 and 49 items
- Referred between 50 and 99 users
- Europe
Your example does not contain the domain, which is the second parameter for the __ function
<?php __( 'Save All Changes', 'your_text_domain' ); ?>
OrganicBeeMedia said
<?php __( 'Save All Changes', 'your_text_domain' ); ?>
Ha oops, I blame it on tired eyes 
Gareth_Gillman said
OrganicBeeMedia saidHa oops, I blame it on tired eyes
<?php __( 'Save All Changes', 'your_text_domain' ); ?>![]()
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
