Wordpress/tests/qunit
James Nylen 1c28b4a3c8 REST API: Allow overriding jQuery.ajax calls from within wp-admin
There are now 3 places where we call out to the REST API from within wp-admin.  This commit introduces a small library to allow overriding these calls, centralize nonce-passing logic, and eliminate the need to pass a full REST URL down to client code (this last feature is not yet used and will be explored in a separate ticket).

Fixes #40919.


git-svn-id: https://develop.svn.wordpress.org/trunk@41206 602fd350-edb4-49c9-b593-d223f7449a82
2017-08-02 16:44:05 +00:00
..
fixtures REST API: Update the fixture data for wp-api.js tests. 2017-07-26 03:52:41 +00:00
vendor Customizer: Add QUnit tests for menus. 2015-08-03 19:27:27 +00:00
wp-admin/js Widgets: Add accessibility mode support for TinyMCE-enhanced Text and Media widgets (Video, Audio, Images). 2017-06-25 18:47:13 +00:00
wp-includes/js WP-API JS Client: Interpret Settings resource as a model. 2017-07-20 20:25:28 +00:00
.jshintrc Various JSHint fixes. see #26446. 2014-02-08 00:51:14 +00:00
index.html REST API: Allow overriding jQuery.ajax calls from within wp-admin 2017-08-02 16:44:05 +00:00