[wp-trac] [WordPress Trac] #23867: add_rewrite_endpoint causes front-page.php template to be ignored

WordPress Trac noreply at wordpress.org
Sat Mar 30 11:51:07 UTC 2013


#23867: add_rewrite_endpoint causes front-page.php template to be ignored
---------------------------+------------------------------
 Reporter:  lumpysimon     |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:  3.5.1
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------
Changes (by lumpysimon):

 * keywords:  reporter-feedback =>


Comment:

 {{{
 add_action( 'init', 'my_add_rewrite_endpoint' );

 function my_add_rewrite_endpoint() {
         add_rewrite_endpoint( 'nl', EP_ALL );
 }
 }}}

 that's pretty much it. if there's a front-page.php template in the theme
 folder it then gets ignored when visiting http://domain.com/nl.

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


More information about the wp-trac mailing list