Make WordPress Core

Ticket #4459: 4459.diff

File 4459.diff, 602 bytes (added by rob1n, 16 years ago)
  • wp-includes/author-template.php

     
    381381        foreach ( (array) $authors as $author ) {
    382382                $author = get_userdata( $author->ID );
    383383                $posts = (isset($author_count[$author->ID])) ? $author_count[$author->ID] : 0;
    384                 $name = $author->nickname;
     384                $name = $author->display_name;
    385385
    386386                if ( $show_fullname && ($author->first_name != '' && $author->last_name != '') )
    387387                        $name = "$author->first_name $author->last_name";