mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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
This commit is contained in:
@@ -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 = __("<a href='{$theme_uri[1]}' title='Visit theme homepage'>{$theme}</a>");
|
||||
}
|
||||
|
||||
if ('' == $author_uri) {
|
||||
if ('' == $author_uri[1]) {
|
||||
$author = $author_name[1];
|
||||
} else {
|
||||
$author = __("<a href='{$author_uri[1]}' title='Visit author homepage'>{$author_name[1]}</a>");
|
||||
|
||||
Reference in New Issue
Block a user