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

WordPress Trac noreply at wordpress.org
Thu Oct 18 10:36:19 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 birgire):

 Some have set up a {{{<testsuite>}}} to control the file execution order,
 See e.g. https://stackoverflow.com/a/45323854/2078474 But then I assume
 the restapi tests would have to be separated from the default core tests
 in similar way as the multisite tests that uses it's own
 {{{tests/phpunit/multisite.xml}}} config. That config file would then need
 to be updated for each new restapi class?

 Some "is-it-friday-yet" filenames come to mind regarding alphabet filename
 ordering but I hope we are not going down that path :-)

 Then there's the {{{DOING_AUTOSAVE}}} filter approach.

 Maybe other possible approches?

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


More information about the wp-trac mailing list