Support » How-To and Troubleshooting » Post Timestamp Bug in 2.3.1?
8 years, 10 months ago
I frequently write posts for future days, and since upgrading to 2.3.1, I’ve had an issue with post timestamp.
After I make a post, the post has the correct timestamp, but then when I look at my blog later on, the post assumes the timestamp of when I made it.
What template tag (or code) are you using to display the time on the blog itself?
It’s the default for the Cutline theme: http://cutline.tubetorial.com/
<?php the_time('F jS, Y') ?>
My blog: http://blog.affiliatetip.com/
The Timestamp on a future post, is the Timestamp you use to tell WordPress to ‘publish’ that post at a future time.
If I make a future post for tomorrow, when I edit that Post Timestamp and set it to tomorrow’s date, that will be the date of the post that gets displayed using the_time with code like this:
Posted: <?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?>
It initially gets displayed with the selected future time. But then changes.
I’m not seeing that at 2.3.1.
How is the time changing? By an hour, minutes, days?
The time will initially display correctly as the time in the future when I want the post to go out.
Later on, I see that the post has gone live and it has a timestamp for the time I published it.