[wp-trac] [WordPress Trac] #23153: Delete schedule date/time when changing an article from Scheduled to Draft or Pending
WordPress Trac
noreply at wordpress.org
Wed Jan 9 12:39:25 UTC 2013
#23153: Delete schedule date/time when changing an article from Scheduled to Draft
or Pending
-----------------------------+-------------------------
Reporter: bi0xid | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Editor
Version: 3.5 | Severity: normal
Keywords: needs-patch |
-----------------------------+-------------------------
If you have a post scheduled ( post_status=future ) and you change it
again to draft or pending revision, it maintains the programming schedule.
It makes this post ''always scheduled'' and it will be impossible to
publish it whenever you want clicking on the Publish button, forcing you
to program this article to publish in the future.
It might be interesting to revoke the schedule status completely,
including the date, when changing the post status. For that, we need to do
a
{{{
`wp_posts` SET `post_date_gmt` = '0000-00-00 00:00:00' WHERE
`wp_posts`.`ID` = $post_id;
}}}
It might be interesting too to have a possibility to get rid of the
schedule when editing the date and time of publishing, not only changing
it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23153>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list