Skip to content

Commit

Permalink
Merge pull request #1065 from jmslbam/patch-1
Browse files Browse the repository at this point in the history
Use `get_comment_date` instead of `comment_date`
  • Loading branch information
swalkinshaw committed Jun 24, 2014
2 parents bffefdf + 7691ce4 commit 9f029d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/comment.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php echo get_avatar($comment, $size = '64'); ?>
<div class="media-body">
<h4 class="media-heading"><?php echo get_comment_author_link(); ?></h4>
<time datetime="<?php echo comment_date('c'); ?>"><a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?>"><?php printf(__('%1$s', 'roots'), get_comment_date(), get_comment_time()); ?></a></time>
<time datetime="<?php echo get_comment_date('c'); ?>"><a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)); ?>"><?php printf(__('%1$s', 'roots'), get_comment_date(), get_comment_time()); ?></a></time>
<?php edit_comment_link(__('(Edit)', 'roots'), '', ''); ?>

<?php if ($comment->comment_approved == '0') : ?>
Expand Down

0 comments on commit 9f029d1

Please sign in to comment.