[wp-trac] [WordPress Trac] #40919: REST API: Allow overriding `jQuery.ajax` calls from within wp-admin

WordPress Trac noreply at wordpress.org
Fri Jul 14 16:42:24 UTC 2017


#40919: REST API: Allow overriding `jQuery.ajax` calls from within wp-admin
-------------------------+-------------------------------------------------
 Reporter:  jnylen0      |       Owner:  jnylen0
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  4.8.1
Component:  REST API     |     Version:  4.8
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript, administration, rest-
  dev-feedback           |  api
-------------------------+-------------------------------------------------

Comment (by jnylen0):

 The idea is that we can load `wp.apiRequest` without loading all of
 `wp.api`, for example in the existing wp-admin uses of the API, and
 probably in Gutenberg as well since we're not using Backbone otherwise.

 I forgot about the new file rule.  In that case I'd say this can wait
 until 4.9.

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


More information about the wp-trac mailing list