Users: Escape `get_author_posts_url()` link in `wp_list_authors()`.
This is consistent with `get_the_author_posts_link()`. Props chintan1896. Fixes #50698. Built from https://develop.svn.wordpress.org/trunk@51190 git-svn-id: http://core.svn.wordpress.org/trunk@50799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
19f8ac491d
commit
dc51282844
|
@ -474,7 +474,7 @@ function wp_list_authors( $args = '' ) {
|
|||
|
||||
$link = sprintf(
|
||||
'<a href="%1$s" title="%2$s">%3$s</a>',
|
||||
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
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.8-beta2-51189';
|
||||
$wp_version = '5.8-beta2-51190';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue