<div class="gmail_quote">Hi there,<br><br>I am trying to upload a theme via <a href="http://wordpress.org/extend/themes/upload/" target="_blank">http://wordpress.org/extend/themes/upload/</a><br>I get the following two errors:<br>
<ul><li><span>REQUIRED</span>: <b>add_contextual_help</b> found in the file <b>theme-options.php</b>. Deprecated since version <b>3.3</b>. Use <b>get_current_screen()-&gt;add_help_tab()</b> instead.</li>
<li><span>RECOMMENDED</span>: <b>get_current_theme</b> found in the file <b>theme-options.php</b>. Deprecated since version <b>3.4</b>. Use <b>wp_get_theme()</b> instead.</li>
</ul>I do not consider those two as errors because in the code I make an IF statement that checks if the new function exists and if it does not it would call the old one. This is how I make sure I use the new function if the wordpress installation is new version and use the old function on old wp installations. <br>

I can easily use only the new functions but then my theme will not work fine on old versions of WP which I&#39;d like my theme to support. By old versions I mean 3.3 and 3.4.<br><br>For example:<br>&lt;?php $theme_name = function_exists( &#39;wp_get_theme&#39; ) ? wp_get_theme() : get_current_theme(); ?&gt;<br>

<br>I think the theme checker finds the old function as a text in the codes and rises the errors without following the logic in the IF statements.<br><br><br><br>Please tell me what can I do so I can upload my theme?<span class="HOEnZb"><font color="#888888"><br>
<br>
Petar<br>
</font></span></div><br>