Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#17333 closed defect (bug) (duplicate)

Theme editor does not look in subdirectories of child themes or for CSS files

Reported by: janfabry Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2
Component: Themes Keywords:
Focuses: Cc:


#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.

Change History (1)

#1 @scribu
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

"There are a bunch of tickets that already address this: #6531, #10429, #14175"

Source: http://core.trac.wordpress.org/ticket/17281#comment:2

Note: See TracTickets for help on using tickets.