Make WordPress Core

Changeset 1691


Ignore:
Timestamp:
09/18/2004 06:08:40 AM (22 years ago)
Author:
rboren
Message:

Do not try to link to theme and author uris that are not there. Bug 295.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r1675 r1691  
    507507        $name = trim($name);
    508508        $theme = $name;
    509         if ('' != $theme_uri && '' != $name) {
     509        if ('' != $theme_uri[1] && '' != $name) {
    510510                $theme = __("<a href='{$theme_uri[1]}' title='Visit theme homepage'>{$theme}</a>");
    511511        }
    512512
    513         if ('' == $author_uri) {
     513        if ('' == $author_uri[1]) {
    514514                $author = $author_name[1];
    515515        } else {
Note: See TracChangeset for help on using the changeset viewer.