mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
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:
parent
2f09416258
commit
9fac8dcbae
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user