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() {