WordPress/wp-admin/js
James Nylen c91b130b53 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.

Built from https://develop.svn.wordpress.org/trunk@41206


git-svn-id: http://core.svn.wordpress.org/trunk@41046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-08-02 16:45:44 +00:00
..
widgets REST API: Allow overriding `jQuery.ajax` calls from within wp-admin 2017-08-02 16:45:44 +00:00
accordion.js
accordion.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
bookmarklet.js
bookmarklet.min.js Emoji: Load polyfill responsibly. 2016-10-23 00:00:34 +00:00
color-picker.js Customize: Add hue-only mode to color picker. 2016-10-25 22:33:30 +00:00
color-picker.min.js Customize: Add hue-only mode to color picker. 2016-10-25 22:33:30 +00:00
comment.js Docs: Add documentation for `wp-admin/js/comment.js`. 2017-06-15 13:02:40 +00:00
comment.min.js
common.js Permalinks: Remove unnecessary semicolon after [41182]. 2017-07-28 17:55:46 +00:00
common.min.js Permalinks: Add buttons for the available structure tags to the admin UI. 2017-07-28 17:43:45 +00:00
custom-background.js Docs: Add `wp-admin/js/custom-background.js` documentation. 2017-06-15 13:24:41 +00:00
custom-background.min.js Customize: Improve custom background properties UI. 2016-10-26 06:52:29 +00:00
custom-header.js
customize-controls.js Customizer: improve setting the TinyMCE modals z-index. 2017-07-03 21:18:44 +00:00
customize-controls.min.js Customizer: improve setting the TinyMCE modals z-index. 2017-07-03 21:18:44 +00:00
customize-nav-menus.js Customize: Restrict click target of menu deletion, moving to button from its container. 2017-07-10 18:40:44 +00:00
customize-nav-menus.min.js Customize: Restrict click target of menu deletion, moving to button from its container. 2017-07-10 18:40:44 +00:00
customize-widgets.js Accessibility: Make some Widgets buttons real buttons. 2017-04-19 21:14:44 +00:00
customize-widgets.min.js Accessibility: Make some Widgets buttons real buttons. 2017-04-19 21:14:44 +00:00
dashboard.js Dashboard: Don't trigger an Events search when the search field is empty. 2017-05-19 17:27:43 +00:00
dashboard.min.js Dashboard: Don't trigger an Events search when the search field is empty. 2017-05-19 17:27:43 +00:00
edit-comments.js List Tables: Hide 'Empty Trash' and 'Empty Spam' buttons when view is already empty. 2017-03-17 16:54:42 +00:00
edit-comments.min.js List Tables: Hide 'Empty Trash' and 'Empty Spam' buttons when view is already empty. 2017-03-17 16:54:42 +00:00
editor-expand.js Docs: Correct a number of typos/spelling mistakes in inline comments. 2016-10-25 00:38:35 +00:00
editor-expand.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
editor.js Docs: Use 3-digit, x.x.x style semantic versioning for `@since 4.8.0` entries. 2017-07-25 22:48:42 +00:00
editor.min.js Editor: When stripping paragraph tags, and there is a <br> at the beginning or the end, merge them and keep the paragraph, not the <br>. 2017-05-18 22:55:42 +00:00
farbtastic.js
gallery.js
gallery.min.js
image-edit.js Media: ensure JavaScript initialized when media edit screen is loaded directly. 2017-01-27 18:30:43 +00:00
image-edit.min.js Media: ensure JavaScript initialized when media edit screen is loaded directly. 2017-01-27 18:30:43 +00:00
inline-edit-post.js Docs: Improve inline docs for inlineEditPost. 2017-05-19 15:45:42 +00:00
inline-edit-post.min.js Quick/Bulk Edit: Fix the Tag suggestions position on the Bulk Edit textarea. 2017-03-31 16:35:45 +00:00
inline-edit-tax.js Docs: Add documentation for `wp-admin/js/inline-edit-tax.js`. 2016-09-22 18:50:28 +00:00
inline-edit-tax.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
iris.min.js Customize: Add hue-only mode to color picker. 2016-10-25 22:33:30 +00:00
language-chooser.js
language-chooser.min.js
link.js
link.min.js
media-gallery.js Media: Add some docs to `media-gallery.js` RIP. 2016-08-20 22:59:29 +00:00
media-gallery.min.js
media-upload.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
media-upload.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
media.js Docs: Add `wp-admin/js/media.js` documentation. 2017-06-15 15:37:53 +00:00
media.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
nav-menu.js Menus: trigger an event when menu items are added or removed. 2017-01-20 16:15:42 +00:00
nav-menu.min.js Menus: trigger an event when menu items are added or removed. 2017-01-20 16:15:42 +00:00
password-strength-meter.js Users: Check zxcvbn is defined before calling. 2016-07-01 12:45:29 +00:00
password-strength-meter.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
plugin-install.js Plugins: Use `install_plugins_upload` action to print the upload form. 2016-07-31 18:11:29 +00:00
plugin-install.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
post.js Docs: Correct a number of typos/spelling mistakes in inline comments. 2016-10-25 00:38:35 +00:00
post.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
postbox.js Docs: Add documentation for `wp-admin/js/postbox.js`. 2016-09-22 18:47:31 +00:00
postbox.min.js Editor, editor-expand: adjust the sidebar position when moving a postbox from one column to another. 2016-06-08 22:37:29 +00:00
press-this.js Move `sanitizeText` and `stripTags` from press this to `wp.sanitize`. 2017-07-15 15:48:46 +00:00
press-this.min.js Move `sanitizeText` and `stripTags` from press this to `wp.sanitize`. 2017-07-15 15:48:46 +00:00
revisions.js JavaScript: when starting Backbone history, stop if previously started. 2017-02-17 22:00:42 +00:00
revisions.min.js JavaScript: when starting Backbone history, stop if previously started. 2017-02-17 22:00:42 +00:00
set-post-thumbnail.js
set-post-thumbnail.min.js
svg-painter.js
svg-painter.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
tags-box.js Taxonomy: Correct the formatting of HTML entities when generating the screen reader text for tag removal. 2017-03-06 13:14:41 +00:00
tags-box.min.js Taxonomy: Correct the formatting of HTML entities when generating the screen reader text for tag removal. 2017-03-06 13:14:41 +00:00
tags-suggest.js Quick/Bulk Edit: Fix the Tag suggestions position on the Bulk Edit textarea. 2017-03-31 16:35:45 +00:00
tags-suggest.min.js Quick/Bulk Edit: Fix the Tag suggestions position on the Bulk Edit textarea. 2017-03-31 16:35:45 +00:00
tags.js Taxonomy: Add a "delete" button on term edit page. 2017-05-12 19:26:41 +00:00
tags.min.js Taxonomy: Add a "delete" button on term edit page. 2017-05-12 19:26:41 +00:00
theme.js Themes: improve browser history support on new themes page. 2017-05-23 20:32:44 +00:00
theme.min.js Themes: improve browser history support on new themes page. 2017-05-23 20:32:44 +00:00
updates.js Add nonce for updating file system credentials. 2017-05-16 14:48:44 +00:00
updates.min.js Add nonce for updating file system credentials. 2017-05-16 14:48:44 +00:00
user-profile.js Users: Update name in toolbar when changing user display name. 2017-05-12 20:06:42 +00:00
user-profile.min.js Users: Update name in toolbar when changing user display name. 2017-05-12 20:06:42 +00:00
user-suggest.js
user-suggest.min.js
widgets.js Accessibility: Make some Widgets buttons real buttons. 2017-04-19 21:14:44 +00:00
widgets.min.js Accessibility: Make some Widgets buttons real buttons. 2017-04-19 21:14:44 +00:00
word-count.js Docs: Use 3-digit, x.x.x style semantic versioning for `@since` entries in `wp-admin/js/word-count.js`. 2017-01-06 22:12:39 +00:00
word-count.min.js
wp-fullscreen-stub.js Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
wp-fullscreen-stub.min.js
xfn.js
xfn.min.js