From 137da349c3440161b59987a37bd16636c626cb56 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 21 May 2007 20:11:53 +0000 Subject: [PATCH] Fix theme template field. fixes #4310 for 2.3 git-svn-id: https://develop.svn.wordpress.org/trunk@5506 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 266c31add1..e19e2fc5c7 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() {