From aeb569d93df6a1c1c4c7019808d2ab475d37647b Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 21 May 2007 20:11:53 +0000 Subject: [PATCH] Fix theme template field. fixes #4310 for 2.3 git-svn-id: http://svn.automattic.com/wordpress/trunk@5506 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 266c31add..e19e2fc5c 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -103,7 +103,7 @@ function get_theme_data( $theme_file ) { $author = sprintf( '%3$s', $author_uri, __( 'Visit author homepage' ), wp_kses( trim( $author_name[1] ), $themes_allowed_tags ) ); } - return array( 'Name' => $name, 'Title' => $theme, 'URI' => $theme_uri, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1], 'Status' => $status ); + return array( 'Name' => $name, 'Title' => $theme, 'URI' => $theme_uri, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template, 'Status' => $status ); } function get_themes() {