[wp-trac] [WordPress Trac] #18705: home_url() and is_home() with a static front page

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 14 21:37:23 UTC 2011


#18705: home_url() and is_home() with a static front page
--------------------------+------------------------------
 Reporter:  crrobi01      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by crrobi01):

 * type:  enhancement => defect (bug)


Comment:

 I changed type back to defect. Under certain conditions, home_url() does
 not point to the page which loads the template home.php

 The only enhancement here is to create the function front_page_url()
 because after home_url() is fixed, you lose that functionality. That's not
 an enhancement, its the preservation of a current feature and the fixing
 of another.

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


More information about the wp-trac mailing list