| 1 | Index: wp-includes/theme.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-includes/theme.php (revision 21059) |
|---|
| 4 | +++ wp-includes/theme.php (working copy) |
|---|
| 5 | @@ -98,7 +98,7 @@ |
|---|
| 6 | if ( empty( $theme_root ) ) { |
|---|
| 7 | $theme_root = get_raw_theme_root( $stylesheet ); |
|---|
| 8 | if ( false === $theme_root ) |
|---|
| 9 | - $theme_root = WP_CONTENT_DIR . $theme_root; |
|---|
| 10 | + $theme_root = WP_CONTENT_DIR . '/themes'; |
|---|
| 11 | elseif ( ! in_array( $theme_root, (array) $wp_theme_directories ) ) |
|---|
| 12 | $theme_root = WP_CONTENT_DIR . $theme_root; |
|---|
| 13 | } |
|---|