diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 5a119b4ccc..c71ef7134f 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -476,7 +476,20 @@ function wp_list_authors( $args = '' ) { } if ( $args['show_fullname'] && $author->first_name && $author->last_name ) { - $name = "$author->first_name $author->last_name"; + + $full_name = $author->first_name . ' ' . $author->last_name; + + /** + * Filters the author's full name. + * + * @since 6.1.0 + * + * @param string $full_name Full Name of the author. Default: The author's first name + * and last name, separated by a space. + * @param object $author Author object. + */ + $name = apply_filters( 'wp_list_author_full_name', $full_name, $author ); + } else { $name = $author->display_name; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 69c112115d..cb814586e2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53485'; +$wp_version = '6.1-alpha-53486'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.