diff --git a/src/wp-includes/author-template.php b/src/wp-includes/author-template.php
index 5a119b4ccc..e8eb4e534d 100644
a
|
b
|
function wp_list_authors( $args = '' ) { |
476 | 476 | } |
477 | 477 | |
478 | 478 | if ( $args['show_fullname'] && $author->first_name && $author->last_name ) { |
479 | | $name = "$author->first_name $author->last_name"; |
| 479 | |
| 480 | $full_name = $author->first_name . ' ' . $author->last_name; |
| 481 | |
| 482 | /** |
| 483 | * Filters the author's full name. |
| 484 | * |
| 485 | * @since 6.1.0 |
| 486 | * |
| 487 | * @param string $full_name Full Name of the author. Default: The author's first name and last name. |
| 488 | * @param object $author Author data in object format. |
| 489 | */ |
| 490 | |
| 491 | $name = apply_filters( 'wp_list_author_full_name', $full_name, $author ); |
480 | 492 | } else { |
481 | 493 | $name = $author->display_name; |
482 | 494 | } |