[theme-reviewers] Theme-Check plugin and textdomain

Simon Prosser pross at pross.org.uk
Wed Jan 19 16:02:49 UTC 2011

On 01/19/11 15:49, Syahir Hakim wrote:
> Erm...so does the theme-check plugin searches for occurrences of the
> 'twentyten' string, regardless of its context? Clearly in this case my
> theme is not using the twentyten textdomain.
Ive updated the regex to be more strict, its uploaded to SVN but to save
time can you just edit textdomain.php in the checks folder and change to:

if ( preg_match( '/(__|_e)\(.*?["|\']twentyten["|\']\s?\)?/', $php ) ) {

and see what happens for you, as far as i can tell it still works ok

My Blog: http://www.pross.org.uk/
Plugins: http://www.pross.org.uk/plugins/
Themes : http://wordpress.org/extend/themes/profile/pross

More information about the theme-reviewers mailing list