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:
westi 2008-03-16 16:55:31 +00:00
parent 42ac4d7043
commit ef53fc4b54
1 changed files with 1 additions and 1 deletions

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