WordPress/wp-includes/js
Scott Taylor f30266acb9 Media Grid:
* In Bulk Edit mode, don't attempt to delete or trash an attachment that doesn't have a `delete` nonce. The subsequent `_requery()` will then properly display the attachment still present in the library.
* Remove all updated models from the selection at the same time to avoid async race conditions. The selection is reset when the grid's `select` mode is deactivated, but this allows this view instance to be more portable.

This fix allows users to set caps on individual attachments without confusing the grid's library. This issue was present for bulk actions in general, had nothing to do with `MEDIA_TRASH` specifically.

Fixes #29597.

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


git-svn-id: http://core.svn.wordpress.org/trunk@29527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-21 18:52:16 +00:00
..
crop
imgareaselect Update imgAreaSelect to 0.9.10. fixes #25370. 2013-09-21 10:43:10 +00:00
jcrop Update Jcrop to 0.9.12 (unused in WP core). 2013-09-21 12:46:09 +00:00
jquery Fix unexpected replacement of a previous tag when selecting a tag from autosuggest results. 2014-06-26 16:08:14 +00:00
mediaelement Upgrade MediaElement to 2.15.1. 2014-09-11 17:44:15 +00:00
plupload Plupload: Restore 3.8 handles and filenames to avoid breaking plugins. 2014-04-14 00:07:16 +00:00
swfupload Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
thickbox Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
tinymce TinyMCE: fix image captions regexp when wpautop is disabled in wp_editor(). Fixes #29592 for trunk. 2014-09-10 23:03:18 +00:00
admin-bar.js Make older mobile browsers and IE7 usable: 2013-12-09 02:41:10 +00:00
admin-bar.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
autosave.js Autosave: prevent setting multiple stale `wp-saving-post-*` cookies when the browser disregards "session cookies" expiration on quit: 2014-08-22 00:25:16 +00:00
autosave.min.js Autosave: prevent setting multiple stale `wp-saving-post-*` cookies when the browser disregards "session cookies" expiration on quit: 2014-08-22 00:25:16 +00:00
backbone.min.js Update Backbone to version 1.1.2. 2014-02-22 15:42:14 +00:00
colorpicker.js
colorpicker.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
comment-reply.js Fix JSHint errors in six files. 2013-11-15 04:42:09 +00:00
comment-reply.min.js Fix JSHint errors in six files. 2013-11-15 04:42:09 +00:00
customize-base.js Add some docs to Customizer JS. 2014-08-08 22:10:15 +00:00
customize-base.min.js Add some docs to Customizer JS. 2014-08-08 22:10:15 +00:00
customize-loader.js Add some docs to Customizer JS. 2014-08-08 22:10:15 +00:00
customize-loader.min.js Prompt the user before leaving the Customizer if they have unsaved changes. props westonruter. fixes #25439. 2014-07-08 17:04:15 +00:00
customize-models.js Customizer: Allow to skip cropping header images if image width is smaller than or equal to theme width. 2014-04-25 20:25:19 +00:00
customize-models.min.js Customizer: Allow to skip cropping header images if image width is smaller than or equal to theme width. 2014-04-25 20:25:19 +00:00
customize-preview-widgets.js Customizer: Introduce WP_Customize_Control::active() method to determine whether the control is relevant to the current context (i.e. to the current URL being previewed). 2014-07-09 23:58:16 +00:00
customize-preview-widgets.min.js Customizer: Introduce WP_Customize_Control::active() method to determine whether the control is relevant to the current context (i.e. to the current URL being previewed). 2014-07-09 23:58:16 +00:00
customize-preview.js Add some docs to Customizer JS. 2014-08-08 23:31:15 +00:00
customize-preview.min.js Customizer: Introduce WP_Customize_Control::active() method to determine whether the control is relevant to the current context (i.e. to the current URL being previewed). 2014-07-09 23:58:16 +00:00
customize-views.js Customizer: Avoid hiding 'Remove' buttons unrelated to custom headers. 2014-05-06 04:14:14 +00:00
customize-views.min.js Customizer: Avoid hiding 'Remove' buttons unrelated to custom headers. 2014-05-06 04:14:14 +00:00
heartbeat.js Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
heartbeat.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
hoverIntent.js hoverIntent r7. props mjbanks. fixes #23752. 2013-05-14 19:53:05 +00:00
hoverIntent.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
json2.js
json2.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
masonry.min.js Update the Masonry JavaScript library to version 3. 2014-02-25 19:53:15 +00:00
mce-view.js TinyMCE wpView: fix 'undefined' head when not adding more stylesheets to the sandbox iframe, fixes #29399 2014-08-27 18:23:18 +00:00
mce-view.min.js TinyMCE wpView: fix 'undefined' head when not adding more stylesheets to the sandbox iframe, fixes #29399 2014-08-27 18:23:18 +00:00
media-audiovideo.js Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
media-audiovideo.min.js Video: 2014-08-09 19:39:15 +00:00
media-editor.js Media modal: when inserting content, prefer the editor id passed while opening the modal. wpActiveEditor can change in the background. (Includes some precommit prefixed selectors.) Fixes #28173 2014-08-25 19:37:16 +00:00
media-editor.min.js Media modal: when inserting content, prefer the editor id passed while opening the modal. wpActiveEditor can change in the background. (Includes some precommit prefixed selectors.) Fixes #28173 2014-08-25 19:37:16 +00:00
media-grid.js Media library: Unify headers between view modes. 2014-08-26 15:58:15 +00:00
media-grid.min.js Media library: Unify headers between view modes. 2014-08-26 15:58:15 +00:00
media-models.js After [29507], move unreachable code from `_requery()` to `Query.get()`. 2014-08-18 04:08:15 +00:00
media-models.min.js After [29507], move unreachable code from `_requery()` to `Query.get()`. 2014-08-18 04:08:15 +00:00
media-views.js Media Grid: 2014-09-21 18:52:16 +00:00
media-views.min.js Media Grid: 2014-09-21 18:52:16 +00:00
quicktags.js Editor: 2014-03-29 23:58:14 +00:00
quicktags.min.js Editor: 2014-03-29 23:58:14 +00:00
shortcode.js Shortcode JS: Avoid errors when an escaped shortcode includes a newline between brackets. 2014-05-01 03:37:13 +00:00
shortcode.min.js Shortcode JS: Avoid errors when an escaped shortcode includes a newline between brackets. 2014-05-01 03:37:13 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
underscore.min.js Update Backbone from 1.0 to 1.1. 2014-02-13 07:34:13 +00:00
utils.js Fix the `wp-settings-*` cookies used in getUserSetting()/setUserSetting(). They should be set without `COOKIE_DOMAIN` to work properly for sub-domains. Fixes #29095. 2014-08-13 02:47:16 +00:00
utils.min.js Fix the `wp-settings-*` cookies used in getUserSetting()/setUserSetting(). They should be set without `COOKIE_DOMAIN` to work properly for sub-domains. Fixes #29095. 2014-08-13 02:47:16 +00:00
wp-ajax-response.js Fix JSHint errors in the old XML-based ajax response JS. 2013-11-14 05:43:10 +00:00
wp-ajax-response.min.js Fix JSHint errors in the old XML-based ajax response JS. 2013-11-14 05:43:10 +00:00
wp-auth-check.js Heartbeat: update wp-auth-check to use the new "connectNow()" method after a successful login, see #25073. 2013-12-02 18:47:09 +00:00
wp-auth-check.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
wp-backbone.js Update media-views and wp.Backbone.View for Backbone 1.1. 2014-02-13 07:36:13 +00:00
wp-backbone.min.js Update media-views and wp.Backbone.View for Backbone 1.1. 2014-02-13 07:36:13 +00:00
wp-list-revisions.js Fix JSHint errors in two files. see #25957, #25864. (Similar names but separate files.) 2013-11-15 06:24:10 +00:00
wp-list-revisions.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
wp-lists.js Fix double avatars and JS errors when spamming/trashing comments. 2014-03-26 23:14:15 +00:00
wp-lists.min.js Fix double avatars and JS errors when spamming/trashing comments. 2014-03-26 23:14:15 +00:00
wp-pointer.js Fix JSHint errors in six files. 2013-11-15 04:42:09 +00:00
wp-pointer.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
wp-util.js Fix JSHint errors in two files. see #25957, #25864. (Similar names but separate files.) 2013-11-15 06:24:10 +00:00
wp-util.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
wpdialog.js TinyMCE 4.0.12, first run. 2013-12-28 23:53:15 +00:00
wpdialog.min.js TinyMCE 4.0.12, first run. 2013-12-28 23:53:15 +00:00
wplink.js wpLink: add custom open and close events, props bradyvercher, fixes #28095. 2014-08-01 02:04:17 +00:00
wplink.min.js wpLink: add custom open and close events, props bradyvercher, fixes #28095. 2014-08-01 02:04:17 +00:00
zxcvbn-async.js Mark zxcvbn global to avoid JSHint errors. 2013-11-12 23:43:09 +00:00
zxcvbn-async.min.js Update the versions of several `devDependencies` in `package.json`. `grunt-cssjanus` has been updated to `0.2.2`, we no longer need the fork. Run `npm install` to receive updates for `node_modules` in the project root. 2014-01-29 04:43:30 +00:00
zxcvbn.min.js Add a copyright notice to zxcvbn. fixes #25926. 2013-12-04 19:53:10 +00:00