[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 20 01:58:40 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:               |
-------------------------+------------------------------
Changes (by johnbillion):

 * type:  defect (bug) => enhancement


Comment:

 +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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18705#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list