A couple more hCard CSS classes for comments from wnorris. fixes #8264

git-svn-id: https://develop.svn.wordpress.org/trunk@9764 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2008-11-18 22:06:51 +00:00
parent 284fc1d040
commit 0627e9a2fe
2 changed files with 5 additions and 5 deletions

View File

@@ -1535,9 +1535,9 @@ function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {
if ( !empty( $rating ) )
$out .= "&r={$rating}";
$avatar = "<img alt='{$safe_alt}' src='{$out}' class='avatar avatar-{$size}' height='{$size}' width='{$size}' />";
$avatar = "<img alt='{$safe_alt}' src='{$out}' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />";
} else {
$avatar = "<img alt='{$safe_alt}' src='{$default}' class='avatar avatar-{$size} avatar-default' height='{$size}' width='{$size}' />";
$avatar = "<img alt='{$safe_alt}' src='{$default}' class='avatar avatar-{$size} photo avatar-default' height='{$size}' width='{$size}' />";
}
return apply_filters('get_avatar', $avatar, $id_or_email, $size, $default, $alt);