[wp-trac] [WordPress Trac] #38162: Remove paged.php from the theme template hierarchy

WordPress Trac noreply at wordpress.org
Mon Sep 26 22:18:46 UTC 2016


#38162: Remove paged.php from the theme template hierarchy
-------------------------------------+-----------------------
 Reporter:  johnbillion              |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.7
Component:  Themes                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  template
-------------------------------------+-----------------------

Comment (by ryankienstra):

 '''Request For Review'''

 Hi @johnbillion,
 Could you please review this
 [https://core.trac.wordpress.org/attachment/ticket/38162/160.diff patch],
 which takes `paged.php` out of the template heirarchy?

 It deprecates `get_paged_template()`, which retrieved `paged.php`. It also
 removes the call of that function in [https://github.com/xwp/wordpress-
 develop/blob/master/src/wp-includes/template.php wp-includes/template-
 loader.php]. Perhaps it should be deleted instead, but it's a public
 function. It also removes the assertion test of the function in the
 PHPUnit tests.

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


More information about the wp-trac mailing list