[wp-trac] [WordPress Trac] #43316: REST API: Support autosaves
WordPress Trac
noreply at wordpress.org
Sun Mar 25 14:51:04 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 needs-unit- | Focuses: rest-api
tests |
-------------------------------------------------+-------------------------
Comment (by azaozz):
In 43316.11.diff:
- Make the autosave route `POST` to `/wp/v2/posts/123/autosaves` (the
default for creating a child item). The permissions check is whether the
current user can edit the post.
- Tweak the PHP tests accordingly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43316#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list