I'm not seeing a great deal of difference in their functionality from the codex pages.<br><br>The major differences I am seeing in core are:<br><ul><li>site_url() returns get_option ( 'siteurl' ) vs. home_url returns get_option( 'home' )</li>
<li>site_url() does additonal $scheme checks<br></li></ul>There also appear to be several other "_url" type functions added with 3.0.0.<br><br>Source: <a href="http://core.trac.wordpress.org/browser/tags/3.0.1/wp-includes/link-template.php">http://core.trac.wordpress.org/browser/tags/3.0.1/wp-includes/link-template.php</a><br>
<br><br>Cais.<br><br><div class="gmail_quote">On Fri, Aug 27, 2010 at 2:24 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</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="gmail_quote"><div class="im">On Fri, Aug 27, 2010 at 1:08 PM, Simon Prosser <span dir="ltr"><<a href="mailto:pross@pross.org.uk" target="_blank">pross@pross.org.uk</a>></span> wrote:<br></div><div class="im">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>On Friday 27 August 2010 19:06:38 Chip Bennett wrote:<br>
> Something we have thus far overlooked, the following three template tags<br>
> were added in 3.0:<br>
</div>> home_url()<<a href="http://codex.wordpress.org/Function_Reference/home_url" target="_blank">http://codex.wordpress.org/Function_Reference/home_url</a>>,<br>
> site_url() <<a href="http://codex.wordpress.org/Function_Reference/site_url" target="_blank">http://codex.wordpress.org/Function_Reference/site_url</a>>,<br>
<div>> admin_url().<br>
><br>
> (Actually, site_url() was added in 2.6.)<br>
><br>
> Should these be incorporated into the Guidelines, as replacements for their<br>
> get_bloginfo() equivalents? And if so, how: required, or recommended?<br>
><br>
> See Justin Tadlock's<br>
</div>> comment<<a href="http://www.wptavern.com/forum/themes-templates/1911-theme-repositor" target="_blank">http://www.wptavern.com/forum/themes-templates/1911-theme-repositor</a><br>
> y-reviews-3.html#post18711>at WP Tavern for reference.<br>
><br>
> Thoughts?<br>
><br>
> Chip<br>
99.99% of themes still use bloginfo() so i think a recommendation only at this<br>
point..</blockquote><div><br></div></div><div>Sounds good.</div><div><br></div><div>Also, I'm having a brain-fart moment (I'll blame it on having just donated blood): when would home_url and site_url be different? Does it have to do with handling of static front pages, or something?</div>
<div><br></div><font color="#888888"><div>Chip </div></font></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>