From 9fac8dcbaea7b04c2afa74679b5c199fd277a23a 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: http://svn.automattic.com/wordpress/trunk@5701 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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";