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

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


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

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


Comment:

 In [changeset:"43025" 43025]:
 {{{
 #!CommitTicketReference repository="" revision="43025"
 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.
 Fixes #43872.
 }}}

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


More information about the wp-trac mailing list