WordPress.org

Make WordPress Core

Changeset 17074


Ignore:
Timestamp:
12/20/10 10:44:14 (5 years ago)
Author:
nacin
Message:

Call comment_type() without arguments that way 'Comment' is translated internally with context. fixes #15798.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme-compat/comments-popup.php

    r16066 r17074  
    5454    <li id="comment-<?php comment_ID() ?>"> 
    5555    <?php comment_text() ?> 
    56     <p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php printf(__('by %1$s &#8212; %2$s @ <a href="#comment-%3$s">%4$s</a>'), get_comment_author_link(), get_comment_date(), get_comment_ID(), get_comment_time()); ?></cite></p> 
     56    <p><cite><?php comment_type(); ?> <?php printf(__('by %1$s &#8212; %2$s @ <a href="#comment-%3$s">%4$s</a>'), get_comment_author_link(), get_comment_date(), get_comment_ID(), get_comment_time()); ?></cite></p> 
    5757    </li> 
    5858 
Note: See TracChangeset for help on using the changeset viewer.