Use comment ID. see #8344

git-svn-id: https://develop.svn.wordpress.org/trunk@9884 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-25 21:51:28 +00:00
parent 4911a69eaa
commit 3d6cfe8255
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">