[wp-trac] [WordPress Trac] #43316: REST API: Support autosaves

WordPress Trac noreply at wordpress.org
Tue Oct 16 20:45:25 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 danielbachhuber):

 @adamsilverstein Couple of points:

 1. The class should always be loaded by `wp-settings.php`, not
 conditionally. The class isn't meant to be overridden in that manner.
 2. Autosaves are expected to work for a Post Type with Revisions disabled.
 Good point re: media though; we can skip registering for `'attachment' ===
 $post_type`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43316#comment:99>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list