[wp-trac] [WordPress Trac] #16985: XML-RPC endpoint set the datetime when saving a Draft
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 29 17:36:03 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 nprasath002):
No i have not.
In my understanding i do'nt think draft post has an attribute
post_date_gmt
When the mw_newpost passes the args to wp_inset_post it will always set
the $post_date_gmt to 0000-00-00 00:00:00
The patch works for the explained scenario where you upload a draft at
day1 and publish
it at day 7
It will show the published date as day 7
Correct me if i,m wrong
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16985#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list