[wp-trac] Re: [WordPress Trac] #4131: Edit Theme should allow editing files in subfolders

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 20 00:53:52 GMT 2007


#4131: Edit Theme should allow editing files in subfolders
----------------------------+-----------------------------------------------
 Reporter:  drhallows       |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.3      
Component:  Administration  |      Version:  2.0.10   
 Severity:  normal          |   Resolution:           
 Keywords:  edit themes     |  
----------------------------+-----------------------------------------------
Comment (by thee17):

 Looking at the code the problem would be with

 wp-admin/theme-editor.php on line 21


 {{{
 $allowed_files = array_merge($themes[$theme]['Stylesheet Files'],
 $themes[$theme]['Template Files']);
 }}}

 This appears to be where the file list is called, maybe it might be
 possible to follow the sub folders of $themes[$theme]

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


More information about the wp-trac mailing list