WordPress.org

Make WordPress Core

Changeset 12117


Ignore:
Timestamp:
10/27/09 16:45:30 (4 years ago)
Author:
ryan
Message:

Partial fix for theme subdir support. see #10467

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r12091 r12117  
    575575                            while ( ($theme_file = readdir($stylish_dir)) !== false ) { 
    576576                                if ( $theme_file == 'style.css' ) { 
    577                                     $theme_files[$theme_dir] = array( 'theme_file' => $subdir_name . '/' . $theme_dir . '/' . $theme_file, 'theme_root' => $theme_root ); 
     577                                    $theme_files["$theme_dir/$theme_subdir"] = array( 'theme_file' => $subdir_name . '/' . $theme_subdir . '/' . $theme_file, 'theme_root' => $theme_root ); 
    578578                                    $found_stylesheet = true; 
    579579                                    break; 
Note: See TracChangeset for help on using the changeset viewer.