Give the default avatar some class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
42ac4d7043
commit
ef53fc4b54
|
@ -1224,7 +1224,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}' />";
|
||||
$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