Auto-save fail with remove_post_type_support
Describe the bug I have a plugin who use this :
add_action('init', function () {
remove_post_type_support('post', 'revisions');
});
When the auto-save query is sent to /wp-json/wp/v2/posts/12/autosaves, WordPress send a 404 HTTP error
{"code":"rest_no_route","message":"No route was found matching the URL and request method","data":{"status":404}}
To Reproduce Steps to reproduce the behavior:
- Add the following code on function.php
add_action('init', function () {
remove_post_type_support('post', 'revisions');
});
- Create a new article with Gutenberg
- Write a title and a little paragraph
- Wait autosave to view error
Screenshots

Desktop (please complete the following information):
- OS: Win10
- Browser Firefox 61.0.1 (64 bits)
Additional context
- WordPress Version 4.9.8
- Gutenberg Version 3.4.0
I had a similar problem. I fixed it with the Cloudflare Firewall "fix"
I made this ;) http://www.ksstradio.com/2017/12/the-gutenberg-cloudflare-free-fix/
Sorry, I do not use cloudFlare.
And I cannot view your article

This also affects custom post types where revision support is not enabled. It looks like the Autosaves controller incorrectly requires revisions for autosave support.