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

git-svn-id: https://develop.svn.wordpress.org/trunk@5701 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-06-14 02:30:26 +00:00
parent b046d67f41
commit eb1518f95e
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ function wp_list_authors($args = '') {
foreach ( (array) $authors as $author ) {
$author = get_userdata( $author->ID );
$posts = (isset($author_count[$author->ID])) ? $author_count[$author->ID] : 0;
$name = $author->nickname;
$name = $author->display_name;
if ( $show_fullname && ($author->first_name != '' && $author->last_name != '') )
$name = "$author->first_name $author->last_name";