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

WordPress Trac noreply at wordpress.org
Thu Nov 15 20:29:49 UTC 2018


#43316: REST API: Support autosaves
------------------------------------------------+-----------------------
 Reporter:  kraftbj                             |       Owner:  rmccue
     Type:  enhancement                         |      Status:  reopened
 Priority:  normal                              |   Milestone:  5.0
Component:  REST API                            |     Version:
 Severity:  normal                              |  Resolution:
 Keywords:  has-patch has-unit-tests fixed-5.0  |     Focuses:  rest-api
------------------------------------------------+-----------------------

Comment (by adamsilverstein):

 Thanks for the excellent sleuthing and fixes here @TimothyBlynJacobs!

 > Side note. I really think we should stop subclassing the revisions
 controller and instead subclass the WP_REST_Controller.

 Good point. I had a feeling that might be better - thanks for explaining
 some reasons why.  I think originally the controller for autosaves was
 closer to revisions, reusing more of the parent class.

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


More information about the wp-trac mailing list