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

Chip Bennett chip at chipbennett.net
Fri Aug 27 18:06:38 UTC 2010


Something we have thus far overlooked, the following three template tags
were added in 3.0:
home_url()<http://codex.wordpress.org/Function_Reference/home_url>,
site_url() <http://codex.wordpress.org/Function_Reference/site_url>,
admin_url().

(Actually, site_url() was added in 2.6.)

Should these be incorporated into the Guidelines, as replacements for their
get_bloginfo() equivalents? And if so, how: required, or recommended?

See Justin Tadlock's
comment<http://www.wptavern.com/forum/themes-templates/1911-theme-repository-reviews-3.html#post18711>at
WP Tavern for reference.

Thoughts?

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


More information about the theme-reviewers mailing list