[wp-trac] [WordPress Trac] #43872: Add page template filter for all post types

WordPress Trac noreply at wordpress.org
Thu Apr 26 15:51:19 UTC 2018


#43872: Add page template filter for all post types
--------------------------+-----------------------
 Reporter:  desrosj       |       Owner:  desrosj
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  5.0
Component:  Themes        |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  template
--------------------------+-----------------------
Changes (by desrosj):

 * keywords:   => has-patch
 * owner:  (none) => desrosj
 * status:  new => assigned
 * milestone:  Awaiting Review => 5.0


Comment:

 [attachment:43872.diff] introduces a `theme_templates` filter for
 filtering page templates regardless of post type.

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


More information about the wp-trac mailing list