Changeset 20375
- Timestamp:
- 04/05/2012 08:38:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r20363 r20375 64 64 65 65 foreach ( $theme_directories as $theme => $theme_root ) { 66 if ( isset( $_themes[ $theme ] ) )67 $themes[ $theme ] = $_themes[ $theme ];66 if ( isset( $_themes[ $theme_root['theme_root'] . '/' . $theme ] ) ) 67 $themes[ $theme ] = $_themes[ $theme_root['theme_root'] . '/' . $theme ]; 68 68 else 69 $themes[ $theme ] = $_themes[ $theme ] = new WP_Theme( $theme, $theme_root['theme_root'] );69 $themes[ $theme ] = $_themes[ $theme_root['theme_root'] . '/' . $theme ] = new WP_Theme( $theme, $theme_root['theme_root'] ); 70 70 } 71 71 … … 325 325 326 326 $found_themes = array(); 327 328 $wp_theme_directories = (array) $wp_theme_directories; 327 329 328 330 // Set up maybe-relative, maybe-absolute array of theme directories.
Note: See TracChangeset
for help on using the changeset viewer.