[wp-trac] [WordPress Trac] #17333: Theme editor does not look in subdirectories of child themes or for CSS files

WordPress Trac wp-trac at lists.automattic.com
Thu May 5 12:23:54 UTC 2011


#17333: Theme editor does not look in subdirectories of child themes or for CSS
files
--------------------------+-----------------------------
 Reporter:  janfabry      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  3.2
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 #4131 added support for files in subdirectories of the main theme
 directory. However, it seems this code was only added to the code branch
 that looks for PHP files in the main theme, not to the branch that scans
 child themes and CSS files.

 This means that:

  - {{{main-theme/}}}
   - {{{subdir/}}}
    - {{{myfile.php}}} will be found
    - {{{myfile.css}}} will not be found
  - {{{child-theme/}}}
   - {{{subdir/}}}
    - {{{myfile.php}}} will not be found
    - {{{myfile.css}}} will not be found

 Maybe the subdirectory scanner should be made recursive, so files in
 {{{main-theme/includes/great-library/}}} can also be found.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17333>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list