[wp-trac] [WordPress Trac] #43316: REST API: Support autosaves
WordPress Trac
noreply at wordpress.org
Tue Oct 16 20:40:42 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):
in [attachment:"43316.16.diff"]
* move the conditional to file load
* only register autosaves against endpoints that support revisions,
verified autosaves endpoints still loaded when `WP_POST_REVISIONS` is
false. Note that gutenberg currently registers autosaves for all post
types - do we want media autosaves for example?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43316#comment:98>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list