Comments display past date, not date created
-
Comments display past date (Feb 28) not date created (Mar 2). In Dashboard, Comments show correct date (Mar 2), but display below posts with incorrect date (Feb 28).
Any plugins associated with comments (Collapsible Comments, and WordPress Thread Comment) have been deactivated and deleted, but problem persists.
Core files (wp-includes/comment-template.php and commment.php) have also been deleted and replaced, but that has not corrected problem either.
General/Settings are correct, as is clock on PC.
Theme comments.php file (which previously worked fine on Feb 28 and now seems stuck on that date), calls date as follows –
<div class=”datebox”>
<p class=”month”><?php the_time(‘M’) ?></p>
<p class=”day”><?php the_time(‘d’) ?></p>
<p class=”year”><?php the_time(‘Y’) ?></p>
</div>
- The topic ‘Comments display past date, not date created’ is closed to new replies.