Make WordPress Core

Changeset 2626


Ignore:
Timestamp:
06/10/2005 11:13:19 PM (19 years ago)
Author:
matt
Message:

Fix for get_author_link, fixes #1430

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-author.php

    r2444 r2626  
    132132        $link = $file . '?author=' . $auth_ID;
    133133    } else {
    134         if ('' == $author_nicename) $author_nicename = $cache_userdata[$author_id]->author_nicename;
     134        if ('' == $author_nicename) $author_nicename = $cache_userdata[$author_id]->user_nicename;
    135135                $link = str_replace('%author%', $author_nicename, $link);
    136136                $link = get_settings('home') . trailingslashit($link);
Note: See TracChangeset for help on using the changeset viewer.