[wp-trac] [WordPress Trac] #16985: XML-RPC endpoint set the datetime when saving a Draft
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 30 10:58:59 UTC 2011
#16985: XML-RPC endpoint set the datetime when saving a Draft
------------------------------+------------------------------
Reporter: daniloercoli | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.1
Severity: normal | Resolution:
Keywords: mobile has-patch |
------------------------------+------------------------------
Comment (by daniloercoli):
I started a new post on my dashboard. I set the publishing date to 30
April and saved it as draft.
This is the dump from the db:
'114', '2', '2011-04-30 10:39:54', '2011-04-30 10:39:54', 'this is the
content', 'Title of a draft post scheduled', '', 'draft', 'open', 'open',
'', '', '', '', '2011-03-30 10:42:20', '2011-03-30 10:42:20', '', '0',
'http://localhost/wordpress31rc3/?p=114', '0', 'post', '', '0'
The post is marked as draft, and the publishing date is correctly set.
I reopened the draft post and clicked on the schedule btn. the post status
is changed to "future" (will be live on the blog in the future).
I think we cannot set the status to "future", for a draft post (post
status = draft) that has the publishing date set to a future datetime.
This post will be "live" on the blog at the defined datetime. The user has
explicity set the post as draft, so we can't change it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16985#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list