Opened 2 years ago
Closed 2 years ago
#17333 closed defect (bug) (duplicate)
Theme editor does not look in subdirectories of child themes or for CSS files
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Themes | Version: | 3.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
#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
- subdir/
- child-theme/
- subdir/
- myfile.php will not be found
- myfile.css will not be found
- subdir/
Maybe the subdirectory scanner should be made recursive, so files in main-theme/includes/great-library/ can also be found.
Change History (1)
Note: See
TracTickets for help on using
tickets.

"There are a bunch of tickets that already address this: #6531, #10429, #14175"
Source: http://core.trac.wordpress.org/ticket/17281#comment:2