Make WordPress Core

Changeset 9854


Ignore:
Timestamp:
11/24/2008 01:36:23 AM (16 years ago)
Author:
azaozz
Message:

I18n: fix get_comment_date and edit_comment_link in comment-template.php, props tai. Add class to "Says:", fixes #8142

File:
1 edited

Legend:

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

    r9825 r9854  
    11751175        <div class="comment-author vcard">
    11761176        <?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?>
    1177         <?php printf(__('<cite class="fn">%s</cite> Says:'), get_comment_author_link()) ?>
     1177        <cite class="fn"><?php comment_author_link(); ?></cite> <span class="says"><?php _e('says:'); ?></span>
    11781178        </div>
    11791179<?php if ($comment->comment_approved == '0') : ?>
     
    11821182<?php endif; ?>
    11831183
    1184         <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date('F jS, Y'),  get_comment_time()) ?></a><?php edit_comment_link('edit','&nbsp;&nbsp;','') ?></div>
     1184        <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(),  get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'&nbsp;&nbsp;','') ?></div>
    11851185
    11861186        <?php comment_text() ?>
Note: See TracChangeset for help on using the changeset viewer.