[wp-trac] [WordPress Trac] #35874: XMLRPC: Draft posts are published immediately when changed to published and future-dated at once

WordPress Trac noreply at wordpress.org
Fri Feb 19 21:25:32 UTC 2016


#35874: XMLRPC: Draft posts are published immediately when changed to published and
future-dated at once
--------------------------------------+------------------------------
 Reporter:  redsweater                |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  XML-RPC                   |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by redsweater):

 FWIW the bug here is even a little wider-spread than I thought: in
 general, the dateCreated flag will be ignored for an updated Draft or
 Pending post, if it doesn't already have a date associated with it.

 So for example, independent of switching a post to "Published" status,
 simply trying to set a date on an existing Draft that was previously
 published without a date will fail.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35874#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list