WordPress.org

Make WordPress Core

Changeset 9764


Ignore:
Timestamp:
11/18/08 22:06:51 (7 years ago)
Author:
markjaquith
Message:

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

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r9667 r9764  
    140140        $return = $author; 
    141141    else 
    142         $return = "<a href='$url' rel='external nofollow'>$author</a>"; 
     142        $return = "<a href='$url' rel='external nofollow' class='url'>$author</a>"; 
    143143    return apply_filters('get_comment_author_link', $return); 
    144144} 
     
    11501150        <div class="comment-author vcard"> 
    11511151        <?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()) ?> 
    11531153        </div> 
    11541154<?php if ($comment->comment_approved == '0') : ?> 
  • trunk/wp-includes/pluggable.php

    r9728 r9764  
    15361536            $out .= "&amp;r={$rating}"; 
    15371537 
    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}' />"; 
    15391539    } 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}' />"; 
    15411541    } 
    15421542 
Note: See TracChangeset for help on using the changeset viewer.