Call comment_type() without arguments that way 'Comment' is translated internally with context. fixes #15798.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0bc42a98cc
commit
881a4cc5e3
|
@ -53,7 +53,7 @@ if ( post_password_required($post) ) { // and it doesn't match the cookie
|
||||||
<?php foreach ($comments as $comment) { ?>
|
<?php foreach ($comments as $comment) { ?>
|
||||||
<li id="comment-<?php comment_ID() ?>">
|
<li id="comment-<?php comment_ID() ?>">
|
||||||
<?php comment_text() ?>
|
<?php comment_text() ?>
|
||||||
<p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php printf(__('by %1$s — %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>
|
<p><cite><?php comment_type(); ?> <?php printf(__('by %1$s — %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>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<?php } // end for each comment ?>
|
<?php } // end for each comment ?>
|
||||||
|
|
Loading…
Reference in New Issue