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

WordPress Trac noreply at wordpress.org
Sat Mar 10 15:22:19 UTC 2018


#43316: REST API: Support autosaves
-------------------------------------+-----------------------
 Reporter:  kraftbj                  |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  5.0
Component:  REST API                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  rest-api
-------------------------------------+-----------------------

Comment (by adamsilverstein):

 In [attachment:43316.4.diff]:
 * define DOING_AUTOSAVE true instead of un/re hooking
 wp_save_post_revision

 Working on adding some tests, appreciate any feedback on the controller
 class itself.

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


More information about the wp-trac mailing list