mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-14 19:42:16 +01:00
Gravatars: Remove redundant 1x srcset.
props miqrogroove. see #22329. Built from https://develop.svn.wordpress.org/trunk@31722 git-svn-id: http://core.svn.wordpress.org/trunk@31703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0bf35836c3
commit
0b3170fc7d
@ -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'],
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.2-alpha-31721';
|
$wp_version = '4.2-alpha-31722';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user