mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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:
parent
844cb9db71
commit
480fad1f82
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user