From 02f3720bfa9fd9d785bb454ef8ecf8ba92bc40c3 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 12 Mar 2007 08:59:15 +0000 Subject: [PATCH] [5006] didn't take. props Nazgul for the spot. fixes #3866 git-svn-id: https://develop.svn.wordpress.org/trunk@5028 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/theme.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 7bd35fd604..7e45c5487e 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -78,6 +78,7 @@ function get_theme_data( $theme_file ) { $name = $theme_name[1]; $name = trim( $name ); $theme = $name; + $theme_uri = trim( $theme_uri[1] ); if ( '' == $author_uri[1] ) { $author = trim( $author_name[1] ); @@ -85,7 +86,7 @@ function get_theme_data( $theme_file ) { $author = '' . trim( $author_name[1] ) . ''; } - return array( 'Name' => $name, 'Title' => $theme, '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[1], 'Status' => $status ); } function get_themes() {