[wp-trac] [WordPress Trac] #11216: Support page templates located in a subdirectory of the theme

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 30 14:06:35 UTC 2012


#11216: Support page templates located in a subdirectory of the theme
-------------------------------------+---------------------
 Reporter:  westi                    |       Owner:  nacin
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  3.4
Component:  Themes                   |     Version:  2.9
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+---------------------

Comment (by nacin):

 In [20327]:
 {{{
 #!CommitTicketReference repository="" revision="20327"
 Set WP_Theme::scandir()'s default depth to 0 (flat), as intended. Cache
 untranslated page template names. Properly merge in a parent theme's
 templates when dealing with cached values. Always look one level deep for
 WP_Theme->get_files() regardless of file type. see #20103. see #11216.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11216#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list