Give the default avatar some class.

git-svn-id: https://develop.svn.wordpress.org/trunk@7333 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-03-16 16:55:31 +00:00
parent 22aacb36f5
commit 3b749d6178

View File

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