From eb1518f95ed94272ff8e7369887c42d0a4861296 Mon Sep 17 00:00:00 2001 From: rob1n Date: Thu, 14 Jun 2007 02:30:26 +0000 Subject: [PATCH] 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 --- wp-includes/author-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 3a30e2e51c..afdd39742e 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -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";