Close img tag. Props Otto42. fixes #6339
git-svn-id: https://develop.svn.wordpress.org/trunk@7461 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
22ab64425b
commit
a991442f83
@ -1250,7 +1250,7 @@ function get_avatar( $id_or_email, $size = '96', $default = '' ) {
|
||||
|
||||
$avatar = "<img alt='' src='{$out}' class='avatar avatar-{$size}' height='{$size}' width='{$size}' />";
|
||||
} else {
|
||||
$avatar = "<img alt='' src='{$default}' class='avatar avatar-{$size} avatar-default' height='{$size}' width='{$size}'>";
|
||||
$avatar = "<img alt='' src='{$default}' class='avatar avatar-{$size} avatar-default' height='{$size}' width='{$size}' />";
|
||||
}
|
||||
|
||||
return apply_filters('get_avatar', $avatar, $id_or_email, $size, $default);
|
||||
|
Loading…
Reference in New Issue
Block a user