mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1512,7 +1512,7 @@ function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {
|
||||
if ( false === $alt)
|
||||
$safe_alt = '';
|
||||
else
|
||||
$safe_alt = attr( $alt );
|
||||
$safe_alt = esc_attr( $alt );
|
||||
|
||||
if ( !is_numeric($size) )
|
||||
$size = '96';
|
||||
|
||||
Reference in New Issue
Block a user