mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 04:20:01 +01:00
Users: Escape get_author_posts_url()
link in wp_list_authors()
.
This is consistent with `get_the_author_posts_link()`. Props chintan1896. Fixes #50698. git-svn-id: https://develop.svn.wordpress.org/trunk@51190 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
63f4733ead
commit
d0e8b81cd8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user