From c5d5d2f13f357ef752ee38471f11c90bec679e7c Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 8 Mar 2012 18:00:11 +0000 Subject: [PATCH] Use correct variable. see #20103. git-svn-id: http://svn.automattic.com/wordpress/trunk@20161 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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; } }