Use correct variable. see #20103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
98245701cb
commit
c5d5d2f13f
|
@ -34,7 +34,7 @@ function wp_get_themes( $args = array() ) {
|
|||
$current_theme = get_stylesheet();
|
||||
$root_of_current_theme = get_raw_theme_root( $current_theme );
|
||||
if ( ! in_array( $root_of_current_theme, $wp_theme_directories ) )
|
||||
$root_of_current_theme = WP_CONTENT_DIR . $current_theme_root;
|
||||
$root_of_current_theme = WP_CONTENT_DIR . $root_of_current_theme;
|
||||
$_theme_directories[ $current_theme ]['theme_root'] = $root_of_current_theme;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue