[wp-trac] [WordPress Trac] #43316: REST API: Support autosaves

WordPress Trac noreply at wordpress.org
Wed Jun 20 12:55:34 UTC 2018


#43316: REST API: Support autosaves
-------------------------------------------------+-------------------------
 Reporter:  kraftbj                              |       Owner:  rmccue
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.0
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:  rest-api
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by aduth):

 In the latest patch: When creating an autosave, we allow a post with
 `auto-draft` status to be saved in-place. Should it ever be the case that
 we'd want an auto-draft post to stay as auto-draft after an autosave
 occurs? Or should we at least change this status to `draft` from the
 server? Otherwise it requires that the developer include `status` in the
 payload to bump the post to draft status. This is more a workflow
 expectation, and admittedly it seems we should want to limit the amount of
 "magic" happening on the server, but in this instance we're already
 varying logic automatically based on the status of the post being saved.

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


More information about the wp-trac mailing list