Changeset 5701

Show
Ignore:
Timestamp:
06/14/07 02:30:26 (1 year ago)
Author:
rob1n
Message:

Use display_name instead. Props Pal Gronas Drange. fixes #4459

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/author-template.php

    r5700 r5701  
    386386        $author = get_userdata( $author->ID ); 
    387387        $posts = (isset($author_count[$author->ID])) ? $author_count[$author->ID] : 0; 
    388         $name = $author->nickname; 
     388        $name = $author->display_name; 
    389389 
    390390        if ( $show_fullname && ($author->first_name != '' && $author->last_name != '') )