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

git-svn-id: http://svn.automattic.com/wordpress/trunk@5701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-06-14 02:30:26 +00:00
parent 2f09416258
commit 9fac8dcbae

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";