From dcb4808bfcad6f56029cc93e71f75243edde6924 Mon Sep 17 00:00:00 2001 From: rboren 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: http://svn.automattic.com/wordpress/trunk@1691 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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]}");