[wp-trac] [WordPress Trac] #13265: Filter results of get_page_templates()

WordPress Trac noreply at wordpress.org
Sat Mar 8 04:18:32 UTC 2014


#13265: Filter results of get_page_templates()
-------------------------+-------------------------
 Reporter:  nathanrice   |       Owner:  nathanrice
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  3.9
Component:  Themes       |     Version:  3.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  template
-------------------------+-------------------------

Comment (by nacin):

 In [changeset:"27470"]:
 {{{
 #!CommitTicketReference repository="" revision="27470"
 Rename the new page_templates filter to theme_page_templates, and pass it
 a post object for proper context.

 see #13265.
 }}}

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


More information about the wp-trac mailing list