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

yulian yordanov yul.yordanov at gmail.com
Wed Sep 15 16:31:37 UTC 2010


Oh, I wanted to ask something different. I'm sorry, English is not my native
language you know :/
I know home_url is recommended for bloginfo('url') but I'm wondering about
get_option(home). Seems it produces the same result /home URL/ so can I
replace get_option(home) with home_url() too?

Yulian <Fingli>

2010/9/15 Edward Caissie <edward.caissie at gmail.com>

> As a recommendation is fine for now ... it might get a 'strongly' added to
> it, but not yet.
>
>
> Cais.
>
> 2010/9/15 Chip Bennett <chip at chipbennett.net>
>
> Using *home_url()* is actually already listed as *recommended *in the
>> Guidelines, but is not *required*.
>>
>> That's probably a good balance for the time being, I think.
>>
>> Chip
>>
>> On Wed, Sep 15, 2010 at 11:15 AM, yulian yordanov <yul.yordanov at gmail.com
>> > wrote:
>>
>>>  Hi,
>>> Hmm, is there significant difference between get_option('home') and
>>> bloginfo('url')? Can I recommend using *echo home_url('/')* instead?
>>>
>>> --
>>> Юлиян Йорданов
>>>
>>> Yulian Yordanovhttp://post-scriptum.info/
>>>
>>>
>>> _______________________________________________
>>> theme-reviewers mailing list
>>> theme-reviewers at lists.wordpress.org
>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>
>>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>


-- 
Юлиян Йорданов

Yulian Yordanov
post-scriptum.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100915/8250222c/attachment.htm>


More information about the theme-reviewers mailing list