Ticket #8264: comment-hcard.patch
| File comment-hcard.patch, 1.9 KB (added by , 17 years ago) |
|---|
-
wp-includes/comment-template.php
139 139 if ( empty( $url ) || 'http://' == $url ) 140 140 $return = $author; 141 141 else 142 $return = "<a href='$url' rel='external nofollow' >$author</a>";142 $return = "<a href='$url' rel='external nofollow' class='url'>$author</a>"; 143 143 return apply_filters('get_comment_author_link', $return); 144 144 } 145 145 … … 1149 1149 <?php endif; ?> 1150 1150 <div class="comment-author vcard"> 1151 1151 <?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?> 1152 <?php printf(__('<cite >%s</cite> Says:'), get_comment_author_link()) ?>1152 <?php printf(__('<cite class="fn">%s</cite> Says:'), get_comment_author_link()) ?> 1153 1153 </div> 1154 1154 <?php if ($comment->comment_approved == '0') : ?> 1155 1155 <em><?php _e('Your comment is awaiting moderation.') ?></em> … … 1281 1281 $wp_query->max_num_comment_pages = $walker->max_pages; 1282 1282 } 1283 1283 1284 ?> 1285 No newline at end of file 1284 ?> -
wp-includes/pluggable.php
1535 1535 if ( !empty( $rating ) ) 1536 1536 $out .= "&r={$rating}"; 1537 1537 1538 $avatar = "<img alt='{$safe_alt}' src='{$out}' class='avatar avatar-{$size} ' height='{$size}' width='{$size}' />";1538 $avatar = "<img alt='{$safe_alt}' src='{$out}' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />"; 1539 1539 } else { 1540 $avatar = "<img alt='{$safe_alt}' src='{$default}' class='avatar avatar-{$size} avatar-default' height='{$size}' width='{$size}' />";1540 $avatar = "<img alt='{$safe_alt}' src='{$default}' class='avatar avatar-{$size} photo avatar-default' height='{$size}' width='{$size}' />"; 1541 1541 } 1542 1542 1543 1543 return apply_filters('get_avatar', $avatar, $id_or_email, $size, $default, $alt);