diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/author-template.php --- a/wp/wp-includes/author-template.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/author-template.php Wed Sep 21 18:19:35 2022 +0200 @@ -405,8 +405,8 @@ * @type string $style If 'list', each author is wrapped in an `
  • ` element, otherwise the authors * will be separated by commas. * @type bool $html Whether to list the items in HTML form or plaintext. Default true. - * @type array|string $exclude Array or comma/space-separated list of author IDs to exclude. Default empty. - * @type array|string $include Array or comma/space-separated list of author IDs to include. Default empty. + * @type int[]|string $exclude Array or comma/space-separated list of author IDs to exclude. Default empty. + * @type int[]|string $include Array or comma/space-separated list of author IDs to include. Default empty. * } * @return void|string Void if 'echo' argument is true, list of authors if 'echo' is false. */ @@ -474,7 +474,7 @@ $link = sprintf( '%3$s', - get_author_posts_url( $author->ID, $author->user_nicename ), + esc_url( get_author_posts_url( $author->ID, $author->user_nicename ) ), /* translators: %s: Author's display name. */ esc_attr( sprintf( __( 'Posts by %s' ), $author->display_name ) ), $name