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

WordPress Trac noreply at wordpress.org
Thu Oct 18 08:44:23 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 has-unit-tests commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------

Comment (by azaozz):

 Replying to [comment:112 danielbachhuber]:

 > > As far as I can tell, this is not required

 > Don't we need to keep `DOING_AUTOSAVE`?

 We do. Or we are back at the beginning with revisions created for each
 draft save. Apart from that it may bring other regressions in plugins.

 This is a problem with testing, not with the actual functionality and
 should be fixed in the tests :)

 A possible (easy) solution would be to run these tests last, after all of
 the other attachment tests.

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


More information about the wp-trac mailing list