Partial fix for theme subdir support. see #10467

git-svn-id: https://develop.svn.wordpress.org/trunk@12117 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-10-27 16:45:30 +00:00
parent e35b179907
commit a0f9bea8cb
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ function search_theme_directories() {
while ( ($theme_file = readdir($stylish_dir)) !== false ) {
if ( $theme_file == 'style.css' ) {
$theme_files[$theme_dir] = array( 'theme_file' => $subdir_name . '/' . $theme_dir . '/' . $theme_file, 'theme_root' => $theme_root );
$theme_files["$theme_dir/$theme_subdir"] = array( 'theme_file' => $subdir_name . '/' . $theme_subdir . '/' . $theme_file, 'theme_root' => $theme_root );
$found_stylesheet = true;
break;
}