In `get_avatar()`, revert the `<img>` tag attributes to using single quotes, instead of double quotes. This behaviour was changed in [31107], but caused problems for code that attempted to parse the `<img>` tag.
See #21195 Built from https://develop.svn.wordpress.org/trunk@31152 git-svn-id: http://core.svn.wordpress.org/trunk@31133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
eed3698c49
commit
4bc89fef32
|
@ -2181,7 +2181,7 @@ function get_avatar( $id_or_email, $size = 96, $default = '', $alt = '', $args =
|
|||
}
|
||||
|
||||
$avatar = sprintf(
|
||||
'<img alt="%s" src="%s" class="%s" height="%d" width="%d" />',
|
||||
"<img alt='%s' src='%s' class='%s' height='%d' width='%d' />",
|
||||
esc_attr( $args['alt'] ),
|
||||
esc_url( $url ),
|
||||
esc_attr( join( ' ', $class ) ),
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31151';
|
||||
$wp_version = '4.2-alpha-31152';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue