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

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 7 19:24:25 UTC 2011


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

Comment (by nacin):

 Let's remove the code from theme.php rather than commenting it out. Also,
 $ignore should be = array() and we should array_merge() in .svn, .git, .,
 and .. -- there's never a reason for those to be searched.

 At the same time, this is actually doing three loops through the
 directories, rather than two. Perhaps there's a better way to clear up the
 abstraction.

 Definitely not 3.3 material, but could go into 3.4.

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


More information about the wp-trac mailing list