mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
ecffc4649f
commit
c763a657d8
@ -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_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>';
|
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">
|
||||||
|
Loading…
Reference in New Issue
Block a user