[theme-reviewers] Theme-Check plugin and textdomain

Otto otto at ottodestruct.com
Wed Jan 19 16:13:21 UTC 2011

On Wed, Jan 19, 2011 at 9:31 AM, Syahir Hakim <khairulsyahir at gmail.com> wrote:
> I used Dreamweaver's search function, and there's no occurrence of
> 'twentyten' inside __() or _e().
> Correcting my previous email, there's actually two occurrences of the string
> 'twentyten', which is inside the theme's uninstall script, which switches to
> the twentyten theme after deleting my theme's database entries.
> This is the line:
> switch_theme('twentyten', 'twentyten');
> If I comment out that line, theme-check does not show any warning and show
> that the theme passes the check. Uncomment that line, and the warning
> appears.

This is totally unnecessary. The default theme is automatically
switched to when the active theme goes missing. You don't need to
switch the theme around manually.


More information about the theme-reviewers mailing list