_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:
Mark Jaquith
2009-05-05 19:43:53 +00:00
parent 8788a2520e
commit c638e8d8de
110 changed files with 703 additions and 703 deletions

View File

@@ -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';