From d501284378701c3009cd12ade4f925ccf66a2539 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 8 Mar 2012 18:00:11 +0000 Subject: [PATCH] Use correct variable. see #20103. git-svn-id: https://develop.svn.wordpress.org/trunk@20161 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 84d9405b4e..35374747ad 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -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; } }