<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>substitute it’s translation strings for the ones for your theme</DIV>
<DIV> </DIV>
<DIV>Change the add_submenu_page to add theme_page</DIV>
<DIV> </DIV>
<DIV>foreach ( $this->plugins as $plugin ) {</DIV>
<DIV> if ( ! is_plugin_active( $plugin['file_path'] ) )
{
</DIV>
<DIV> add_theme_page(</DIV>
<DIV>
$this->strings['page_title'],
// Page title</DIV>
<DIV>
$this->strings['menu_title'],
// Menu title</DIV>
<DIV>
'edit_theme_options',
// Capability</DIV>
<DIV>
$this->menu,
// Menu slug</DIV>
<DIV> array(
&$this, 'install_plugins_page' ) // Callback</DIV>
<DIV> );</DIV>
<DIV> break;</DIV>
<DIV> }</DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>This shouldn’t receive special treatment because
it’s modifiable code that you can make work specifically for your
theme</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>there are a couple other things you would need to
do to make it work right for the theme repo too but those are easy</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=weavertheme@gmail.com
href="mailto:weavertheme@gmail.com">Bruce Wampler</A> </DIV>
<DIV><B>Sent:</B> Friday, December 13, 2013 12:06 PM</DIV>
<DIV><B>To:</B> <A title=theme-reviewers@lists.wordpress.org
href="mailto:theme-reviewers@lists.wordpress.org">Discussion list for WordPress
theme reviewers.</A> </DIV>
<DIV><B>Subject:</B> [theme-reviewers] TGM-Plugin-Activation - Theme
Check</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV dir=ltr>
<DIV>
<DIV>
<DIV>
<DIV>I've added TGM-Plugin-Activation to recommend plugins for my
themes.<BR><BR></DIV>It continues to really mess up Theme
Check.<BR><BR></DIV>First, it triggers a bunch of translation slug warnings as
it uses a variable passed in.<BR><BR></DIV>And apparently the latest Theme Check
(the one running when you upload - not the plugin which is currently not finding
any problems for me - even though there are problems) is now issuing a REQUIIRED
for add_theme_page. TGMPA uses add_submenu_page - again so a variable can be
passed in.<BR><BR></DIV>Any way of getting special treatment for that
plugin as I see quite a few themes now using it since the crackdown on
"plugin territory" features in themes. Kind of a pain to have to go in and
understand their code to make mods to pass theme check.<BR><BR>Bruce
Wampler<BR></DIV>
<P>
<HR>
_______________________________________________<BR>theme-reviewers mailing
list<BR>theme-reviewers@lists.wordpress.org<BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></DIV></DIV></DIV></BODY></HTML>