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]}");