[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
This commit is contained in:
Mark Jaquith 2007-03-12 08:59:15 +00:00
parent eb54f68261
commit 02f3720bfa
1 changed files with 2 additions and 1 deletions

View File

@ -78,6 +78,7 @@ function get_theme_data( $theme_file ) {
$name = $theme_name[1]; $name = $theme_name[1];
$name = trim( $name ); $name = trim( $name );
$theme = $name; $theme = $name;
$theme_uri = trim( $theme_uri[1] );
if ( '' == $author_uri[1] ) { if ( '' == $author_uri[1] ) {
$author = trim( $author_name[1] ); $author = trim( $author_name[1] );
@ -85,7 +86,7 @@ function get_theme_data( $theme_file ) {
$author = '<a href="' . trim( $author_uri[1] ) . '" title="' . __('Visit author homepage') . '">' . trim( $author_name[1] ) . '</a>'; $author = '<a href="' . trim( $author_uri[1] ) . '" title="' . __('Visit author homepage') . '">' . trim( $author_name[1] ) . '</a>';
} }
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() { function get_themes() {