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

WordPress Trac noreply at wordpress.org
Tue Feb 25 19:09:42 UTC 2014


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

Comment (by downstairsdev):

 I modified the code by @wpsmith that adds a template via a plugin.  It
 loads the correct template on the front-end now.  See:
 https://core.trac.wordpress.org/attachment/ticket/13265/core-add-page-
 templates.zip

 The latest patch by @wpsmith still applies fine, just offset a couple
 lines:
 https://core.trac.wordpress.org/attachment/ticket/13265/13265.patch

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


More information about the wp-trac mailing list