[theme-reviewers] home_url clarification
scui2005 at gmail.com
Wed Jun 19 18:55:47 UTC 2013
How about home_url( '/' ) ?
On Wed, Jun 19, 2013 at 1:52 PM, Edward Caissie <edward.caissie at gmail.com>wrote:
> If the theme is manipulating the $path parameter of the function, or
> attaching something to the `home_url` hook then I would say yes, otherwise
> `home_url()` on its own should be fine as by default $path is empty.
> Edward Caissie
> aka Cais.
> On Wed, Jun 19, 2013 at 2:39 PM, Stephen Cui <scui2005 at gmail.com> wrote:
>> According to in example in
>> http://codex.wordpress.org/Theme_Review#Site_Information, echo
>> home_url() is acceptable (or not?)
>> But many reviewer ask the author to use echo esc_url( home_url() ).
>> Question: Is esc_url required in home_url() case?
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers