[wp-trac] [WordPress Trac] #7441: check_and_publish_future_post()
doesn't check that timestamp is in the past
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 30 18:13:44 GMT 2008
#7441: check_and_publish_future_post() doesn't check that timestamp is in the past
-------------------------+--------------------------------------------------
Reporter: markjaquith | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.7
Component: General | Version: 2.6
Severity: major | Keywords:
-------------------------+--------------------------------------------------
check_and_publish_future_post() is the function that is called for future-
published posts. It guards against drafts being published, but it doesn't
make sure that the publish date of the post is in the past. This can lead
to posts being published early, if an earlier WP-Cron entry wasn't
properly cleared out.
Giving this a high priority, as this could lead to embarrassing early
postings.
Also, if it attempts to publish itself early, we should make sure that the
correct scheduled event is set so it doesn't get stuck as "Scheduled"
forever.
--
Ticket URL: <http://trac.wordpress.org/ticket/7441>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list