Opened 15 years ago
Closed 15 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: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 3.2 |
| Component: | Themes | Keywords: | |
| Focuses: | 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.phpwill be foundmyfile.csswill not be found
child-theme/subdir/myfile.phpwill not be foundmyfile.csswill not be found
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