[wp-trac] [WordPress Trac] #43316: REST API: Support autosaves
WordPress Trac
noreply at wordpress.org
Sat Feb 24 00:46:23 UTC 2018
#43316: REST API: Support autosaves
-------------------------------------+-----------------------
Reporter: kraftbj | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: rest-api
-------------------------------------+-----------------------
Comment (by adamsilverstein):
[attachment:43316.diff] adds helpers for the wp-api client
`wp.api.model.{type}.autosave()` and `wp.api.model.{type}.getAutosave()`.
I still need to add a `getAutosave` for revision collections which I see
the backend supports, and maybe some tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43316#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list