Changes between Initial Version and Version 1 of Ticket #43316, comment 98
- Timestamp:
- 10/16/2018 08:42:45 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43316, comment 98
initial v1 1 1 in [attachment:"43316.16.diff"] 2 2 * move the conditional to file load 3 * 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? 3 * 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? See https://github.com/WordPress/gutenberg/blob/master/lib/rest-api.php#L36-L47 - maybe when under core 5 gutenberg can skip adding the routes, as is we are double adding them