<font color="#333333"><font><font face="arial,helvetica,sans-serif">you're good, if you check this with Theme Check Dev version it will be all right :)</font></font></font><div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br>
Emil<br></font></font></font><br><div class="gmail_quote">On Fri, Jun 8, 2012 at 9:26 PM, Sakin Shrestha <span dir="ltr"><<a href="mailto:info@catchinternet.com" target="_blank">info@catchinternet.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Review Team,<br><br>I have question about the backward compatibility of add_theme_support as this is shown required by Theme Check plugin. The message is as "<span>REQUIRED</span>: <strong>add_theme_support( custom-background )</strong> was found in the file <strong>functions.php</strong>. Use <strong>add_custom_background()</strong> instead."<br>
<br>See my code below:<br> // Add support for custom backgrounds <br> // WordPress 3.4+<br> if ( function_exists( 'get_custom_header') ) {<br> add_theme_support( 'custom-background' );<br>
} else {<br> // Backward Compatibility<br> <br> /**<br> * This feature allows users to use custom background for a theme.<br> * @see <a href="http://codex.wordpress.org/Function_Reference/add_custom_background" target="_blank">http://codex.wordpress.org/Function_Reference/add_custom_background</a><br>
*/ <br> add_custom_background();<br> }<span class="HOEnZb"><font color="#888888"><br> <br clear="all"><br>-- <br>Regards,<br>Sakin <br>
</font></span><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></div>