summaryrefslogtreecommitdiffstats
path: root/wp-includes/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/theme.php')
-rw-r--r--wp-includes/theme.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-includes/theme.php b/wp-includes/theme.php
index 633412c..2f2c1fb 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 = '<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() {