Opened 11 years ago
Closed 11 years ago
#28263 closed defect (bug) (duplicate)
get_raw_theme_root() fails to recognize a singular custom $wp_theme_directories
Reported by: | danielbachhuber | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | needs-patch needs-unit-tests |
Focuses: | Cc: |
Description
When no WP_CONTENT_DIR . '/themes
directory exists, get_raw_theme_root()
fails to recognize a singular custom $wp_theme_directories
because of this assumption:
if ( count($wp_theme_directories) <= 1 ) return '/themes';
Change History (1)
Note: See
TracTickets for help on using
tickets.
#24026 has more details.