[wp-trac] [WordPress Trac] #21096: Filter on is_front_page return value

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 28 10:32:04 UTC 2012


#21096: Filter on is_front_page return value
-------------------------+------------------------------------
 Reporter:  CoenJacobs   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:  dev-feedback has-patch
-------------------------+------------------------------------
 When you set a page (as 'placeholder' with same slug) as front page which
 is actually a post type archive to front page, is_front_page() will always
 return false on that page. The return value of the is_front_page()
 function is not filterable.

 Attached patch adds this filter in the most basic way.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21096>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list