Use comment link. see #8344

git-svn-id: https://develop.svn.wordpress.org/trunk@9881 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-25 21:16:20 +00:00
parent 8f1f203934
commit 43ef0e2722
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': case 'comment':
echo "<td $attributes>"; echo "<td $attributes>";
echo '<div id="submitted-on">'; echo '<div id="submitted-on">';
printf(__('Submitted on <a href="%1$s">%2$s at %3$s</a>'), get_permalink($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($post->ID), get_comment_date(__('Y/m/d')), get_comment_date(__('g:ia')));
echo '</div>'; echo '</div>';
comment_text(); ?> comment_text(); ?>
<div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden"> <div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden">