[theme-reviewers] New Tags in 3.0: home_url(), site_url(), admin_url()

Chip Bennett chip at chipbennett.net
Fri Aug 27 18:45:37 UTC 2010


On Fri, Aug 27, 2010 at 1:41 PM, Edward Caissie <edward.caissie at gmail.com>wrote:

> I'm not seeing a great deal of difference in their functionality from the
> codex pages.
>
> The major differences I am seeing in core are:
>
>    - site_url() returns get_option ( 'siteurl' ) vs. home_url returns
>    get_option( 'home' )
>    - site_url() does additonal $scheme checks
>
> There also appear to be several other "_url" type functions added with
> 3.0.0.
>
> Source:
> http://core.trac.wordpress.org/browser/tags/3.0.1/wp-includes/link-template.php
>
>
> Cais.
>

Okay, so I added in a draft section to Theme Review, under Template Tags and
Hooks. Take a look and let me know if I'm on the right track.

Chip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100827/83bfe250/attachment-0001.htm>


More information about the theme-reviewers mailing list