mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Remove a redundant title attribute. See #26559. Props joedolson.
git-svn-id: https://develop.svn.wordpress.org/trunk@27593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -387,18 +387,16 @@ function wp_list_authors($args = '') {
|
||||
|
||||
$link .= '<a href="' . get_author_feed_link( $author->ID, $feed_type ) . '"';
|
||||
|
||||
$alt = $title = '';
|
||||
$alt = '';
|
||||
if ( !empty( $feed ) ) {
|
||||
$title = ' title="' . esc_attr( $feed ) . '"';
|
||||
$alt = ' alt="' . esc_attr( $feed ) . '"';
|
||||
$name = $feed;
|
||||
$link .= $title;
|
||||
}
|
||||
|
||||
$link .= '>';
|
||||
|
||||
if ( !empty( $feed_image ) )
|
||||
$link .= '<img src="' . esc_url( $feed_image ) . '" style="border: none;"' . $alt . $title . ' />';
|
||||
$link .= '<img src="' . esc_url( $feed_image ) . '" style="border: none;"' . $alt . ' />';
|
||||
else
|
||||
$link .= $name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user