[wp-trac] Re: [WordPress Trac] #7086: Look for Template Files in Stylesheet Directory First

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 10 06:20:09 GMT 2008


#7086: Look for Template Files in Stylesheet Directory First
-------------------------+--------------------------------------------------
 Reporter:  ThemeShaper  |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.7      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Comment (by KKWangen):

 To be more specific; the trouble we got is that if you put a new custom
 page template into a child theme, the page template picker in write ->
 page don't "see" it.

 The same goes for the theme editor, it only shows the template files for
 the parent theme.

 I think it's tied up to $themes[$theme][Template Files] which both codes
 uses, but I'm not sure how to get around it.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7086#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list