mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 20:38:35 +01:00
Daniel Bachhuber
ef67f4ad75
REST API: Introduce Autosaves controller and endpoint.
* Adds `WP_REST_Autosaves_Controller` which extends `WP_REST_Revisions_Controller`. * Autosaves endpoint is registered for all post types except `attachment` because even post types without revisions enabled are expected to autosave. * Because setting the `DOING_AUTOSAVE` constant pollutes the test suite, autosaves tests are run last. We may want to improve upon this later. Props adamsilverstein, aduth, azaozz, danielbachhuber, rmccue. Fixes #43316. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43768 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.2%
SCSS
0.8%
HTML
0.7%