[theme-reviewers] get_option('home') bloginfo('url') andhome_url()

Andrew Nacin wp at andrewnacin.com
Wed Sep 15 17:14:22 UTC 2010


On Wed, Sep 15, 2010 at 1:10 PM, Philip M. Hofer (Frumph) <philip at frumph.net
> wrote:

>  its echo home_url() and echo site_url() btw, because they are returned
> info while bloginfo('url') bloginfo('wpurl') are already echo'd
>

Correct. That's why I was comparing home_url() with get_bloginfo('url').
Also good to note that get_home_url() and get_site_url() are unrelated and
have to do with multisite installations, not the typical echo/return
counterpart.

Also of note, a theme should very rarely find use for site_url(). The
majority of the time, home_url() is the proper choice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100915/9bf62eef/attachment.htm>


More information about the theme-reviewers mailing list