Use comment ID. see #8344

git-svn-id: http://svn.automattic.com/wordpress/trunk@9884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-25 21:51:28 +00:00
parent ecffc4649f
commit c763a657d8
1 changed files with 1 additions and 1 deletions

View File

@ -1970,7 +1970,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true,
case 'comment':
echo "<td $attributes>";
echo '<div id="submitted-on">';
printf(__('Submitted on <a href="%1$s">%2$s at %3$s</a>'), get_comment_link($post->ID), get_comment_date(__('Y/m/d')), get_comment_date(__('g:ia')));
printf(__('Submitted on <a href="%1$s">%2$s at %3$s</a>'), get_comment_link($comment->comment_ID), get_comment_date(__('Y/m/d')), get_comment_date(__('g:ia')));
echo '</div>';
comment_text(); ?>
<div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden">