[wp-trac] [WordPress Trac] #45322: Editing a draft post with wp.editPost causes its published date to be set

WordPress Trac noreply at wordpress.org
Thu Aug 29 02:09:52 UTC 2019


#45322: Editing a draft post with wp.editPost causes its published date to be set
--------------------------------------------+-----------------------------
 Reporter:  redsweater                      |       Owner:  SergeyBiryukov
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:  5.3
Component:  XML-RPC                         |     Version:
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  has-unit-tests has-patch early  |     Focuses:
--------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45906" 45906]:
 {{{
 #!CommitTicketReference repository="" revision="45906"
 XML-RPC: Make sure editing a draft post with `wp.editPost` does not
 unintentionally cause its published date to be set.

 Props redsweater.
 Fixes #45322.
 }}}

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


More information about the wp-trac mailing list