Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43316, comment 98


Ignore:
Timestamp:
10/16/2018 08:42:45 PM (5 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43316, comment 98

    initial v1  
    11in [attachment:"43316.16.diff"]
    22* 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