From 15d8a376f7319a086df130493104bff207ba7909 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 18 Sep 2004 06:08:40 +0000 Subject: [PATCH] Do not try to link to theme and author uris that are not there. Bug 295. git-svn-id: https://develop.svn.wordpress.org/trunk@1691 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 969e87e54d..ba1bcb59b7 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -506,11 +506,11 @@ function get_theme_data($theme_file) { $name = $theme_name[1]; $name = trim($name); $theme = $name; - if ('' != $theme_uri && '' != $name) { + if ('' != $theme_uri[1] && '' != $name) { $theme = __("{$theme}"); } - if ('' == $author_uri) { + if ('' == $author_uri[1]) { $author = $author_name[1]; } else { $author = __("{$author_name[1]}");