ooOK :) Thanks<br><br><div class="gmail_quote">On Wed, Sep 15, 2010 at 7:53 PM, Andrew Nacin <span dir="ltr"><<a href="mailto:wp@andrewnacin.com">wp@andrewnacin.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">2010/9/15 Edward Caissie <span dir="ltr"><<a href="mailto:edward.caissie@gmail.com" target="_blank">edward.caissie@gmail.com</a>></span><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
So I would look at using home_url() as a recommendation over get_option("home") as well, not required ... but definitely good practice.</blockquote><div><br></div><div>I would strongly recommend that avoiding get_option('home') should be *required*. If a theme does it, tell them not to. I'm not concerned about rejecting said theme as much as making it crystal clear that while home_url() is recommended over both get_bloginfo('url') and get_option('home'), that there are different reasons for each.</div>
<div><br></div><div>get_bloginfo('url') simply calls home_url(). They can be treated as synonymous and the guidelines might as well say "home_url() or get_bloginfo('url')", without stating a preference. (Various other get_bloginfo() calls are synonymous with independent functions.)</div>
<div><br></div><div>But the same cannot be said for get_option('home'). The issue here being that get_option('home') simply cannot properly support SSL situations. Thus get_option('home') is a bad idea.</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"><br>-- <br>Юлиян Йорданов<br><br>Yulian Yordanov<br><a href="http://post-scriptum.info/" target="_blank"> post-scriptum.info</a><br><br>