[wp-trac] [WordPress Trac] #34842: Simplify get_home_template() template candidates

WordPress Trac noreply at wordpress.org
Sun Dec 6 18:24:07 UTC 2015


#34842: Simplify get_home_template() template candidates
-------------------------+------------------------------
 Reporter:  Rahe         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  4.4
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  template
-------------------------+------------------------------

Comment (by mdawaffe):

 This patch changes the behavior of `get_home_template()` in the case where
 the theme has a paged.php and an index.php but no home.php.

 The current behavior is to use index.php for both `/` and `/page/2/`.

 With the patch, the behavior changes to using index.php for `/` but
 paged.php for `/page/2/`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34842#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list