<div dir="ltr">USE <span style="color:rgb(68,68,68);font-family:'Open Sans',sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(241,241,241);font-weight:600">add_theme_page()</span><span style="color:rgb(68,68,68);font-family:'Open Sans',sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(241,241,241)"> rather than <i>add_menu_page()</i></span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 8, 2014 at 1:50 PM, Sandeep Kumar <span dir="ltr"><<a href="mailto:sandeeptanwar600@gmail.com" target="_blank">sandeeptanwar600@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, i'm using Option Framework in my theme recently i updated it to new version released by it's author there is no problem with theme but error comes when i tried to submit theme to WordPress directory and also using theme check plugin it says<div>
<br></div><ul style="padding:0px;list-style:none;margin-left:20px;margin-bottom:10px;color:rgb(68,68,68);font-family:'Open Sans',sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(241,241,241)">
<li style="margin-bottom:6px"><span style="color:red">REQUIRED</span>: <span style="font-weight:600">class-options-framework-admin.php</span>. Themes should use <span style="font-weight:600">add_theme_page()</span> for adding admin pages.<pre style="white-space:pre-wrap">
Line 117: // <a href="http://codex.wordpress.org/Function_Reference/" target="_blank">http://codex.wordpress.org/Function_Reference/</a><span style="background-color:yellow">add_menu_page</span></pre><pre style="white-space:pre-wrap">
Line 118: $this->options_screen = <span style="background-color:yellow">add_menu_page</span>(</pre></li></ul><div> </div><div>i tried to change it with add_theme_page but it disappear from there here is this file link</div>
<div><a href="https://github.com/devinsays/options-framework-theme/blob/master/inc/includes/class-options-framework-admin.php" target="_blank">https://github.com/devinsays/options-framework-theme/blob/master/inc/includes/class-options-framework-admin.php</a><br>
</div><div><br></div><div>any help from reviewers ?</div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Sincere Thank's<div>VIBHOR PURANDARE<br>+91-8233882411</div>
</div>