mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1499,7 +1499,7 @@ function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {
|
||||
if ( false === $alt)
|
||||
$safe_alt = '';
|
||||
else
|
||||
$safe_alt = attribute_escape( $alt );
|
||||
$safe_alt = attr( $alt );
|
||||
|
||||
if ( !is_numeric($size) )
|
||||
$size = '96';
|
||||
|
||||
Reference in New Issue
Block a user