Gravatars: Remove redundant 1x srcset.

props miqrogroove.
see #22329.


git-svn-id: https://develop.svn.wordpress.org/trunk@31722 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2015-03-11 16:55:22 +00:00
parent 13c503d15a
commit debd0092cb
1 changed files with 1 additions and 1 deletions

View File

@ -2237,7 +2237,7 @@ function get_avatar( $id_or_email, $size = 96, $default = '', $alt = '', $args =
"<img alt='%s' src='%s' srcset='%s' class='%s' height='%d' width='%d' %s/>", "<img alt='%s' src='%s' srcset='%s' class='%s' height='%d' width='%d' %s/>",
esc_attr( $args['alt'] ), esc_attr( $args['alt'] ),
esc_url( $url ), esc_url( $url ),
esc_attr( "$url 1x, $url2x 2x" ), esc_attr( "$url2x 2x" ),
esc_attr( join( ' ', $class ) ), esc_attr( join( ' ', $class ) ),
(int) $args['height'], (int) $args['height'],
(int) $args['width'], (int) $args['width'],