Remove a redundant title attribute. See #26559. Props joedolson.

Built from https://develop.svn.wordpress.org/trunk@27593


git-svn-id: http://core.svn.wordpress.org/trunk@27436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-03-18 22:02:15 +00:00
parent 844cb9db71
commit 480fad1f82

View File

@ -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;