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

Simon Prosser pross at pross.org.uk
Fri Aug 27 18:08:59 UTC 2010


On Friday 27 August 2010 19:06:38 Chip Bennett wrote:
> 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-repositor
> y-reviews-3.html#post18711>at WP Tavern for reference.
> 
> Thoughts?
> 
> Chip
99.99% of themes still use bloginfo() so i think a recommendation only at this 
point.. 
-- 
MyBlog : http://www.pross.org.uk/
Plugins : http://www.pross.org.uk/plugins/
Themes: http://wordpress.org/extend/themes/profile/pross
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100827/5a0fd1b8/attachment.pgp>


More information about the theme-reviewers mailing list