[wp-trac] [WordPress Trac] #43316: REST API: Support autosaves
WordPress Trac
noreply at wordpress.org
Fri Apr 6 19:54:50 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 adamsilverstein):
> One other question here: how does the autosave actually get applied to
the post?
When the post edit screen loads, if an autosave is present and belongs to
the current user and is newer than and different from the current save, a
notice is displayed at the top of the screen informing the user that a
newer autosave is available, with a link to "View the autosave".
[[Image(https://cl.ly/3K0g2U3I293i/Image%202018-04-06%20at%203.51.16%20PM.png)]]
Clicking the link takes the user into the revisions interface, viewing the
autosave. Clicking 'Restore This Autosave' restores this autosave as the
post content.
[[Image(https://cl.ly/1e2C260J2x3L/Image%202018-04-06%20at%203.51.58%20PM.png)]]
Aside: if the author's autosave is older than the currently saved post
when the post edit screen loads, it is deleted.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43316#comment:74>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list