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:
parent
13c503d15a
commit
debd0092cb
|
@ -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/>",
|
||||
esc_attr( $args['alt'] ),
|
||||
esc_url( $url ),
|
||||
esc_attr( "$url 1x, $url2x 2x" ),
|
||||
esc_attr( "$url2x 2x" ),
|
||||
esc_attr( join( ' ', $class ) ),
|
||||
(int) $args['height'],
|
||||
(int) $args['width'],
|
||||
|
|
Loading…
Reference in New Issue