[wp-trac] [WordPress Trac] #18705: home_url() and is_home() with a static front page
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 27 15:16:10 UTC 2011
#18705: home_url() and is_home() with a static front page
-------------------------+------------------------------
Reporter: crrobi01 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by alex-ye):
Replying to [comment:1 johnbillion]:
> +1 for renaming `is_home()` to `is_posts_page()` (this hass been brought
up before).
>
> I don't think the name of `home_url()` needs to change. If we deprecate
`is_home()` then 'home' won't have its confusing meaning any more.
>
> The introduction of `posts_page_url()` and `front_page_url()` is a good
idea.
1+ for posts_page_url() , but I don't think we need front_page_url() it's
the same as home_url() ?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18705#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list