From 0cd477441ea158ccdb119edb4ff25d50ba2a259b Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 9 Mar 2007 04:15:17 +0000 Subject: [PATCH] Return theme uri in theme data. Props nazgul. fixes #3866 git-svn-id: http://svn.automattic.com/wordpress/trunk@5006 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 633412cff7..2f2c1fbb12 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() {