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

WordPress Trac noreply at wordpress.org
Sun Apr 29 22:44:33 UTC 2018


#43872: Add page template filter for all post types
-----------------------------------+-----------------------
 Reporter:  desrosj                |       Owner:  desrosj
     Type:  enhancement            |      Status:  closed
 Priority:  normal                 |   Milestone:  4.9.6
Component:  Themes                 |     Version:  4.7
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:  template
-----------------------------------+-----------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43028" 43028]:
 {{{
 #!CommitTicketReference repository="" revision="43028"
 Themes: Introduce `theme_templates` filter for page templates of all post
 types.

 This complements the `theme_{$post_type}_templates` dynamic filter added
 in [38951].

 Props desrosj.
 Merges [43025] and [43027] to the 4.9 branch.
 Fixes #43872.
 }}}

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


More information about the wp-trac mailing list