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
jcrop
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
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
admin-bar.min.js
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
colorpicker.js
colorpicker.min.js
comment-reply.js
comment-reply.min.js
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
customize-models.min.js
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
customize-views.min.js
heartbeat.js Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
heartbeat.min.js
hoverIntent.js
hoverIntent.min.js
json2.js
json2.min.js
masonry.min.js
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
quicktags.min.js
shortcode.js
shortcode.min.js
swfobject.js
tw-sack.js
tw-sack.min.js
underscore.min.js
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
wp-ajax-response.min.js
wp-auth-check.js
wp-auth-check.min.js
wp-backbone.js
wp-backbone.min.js
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js
wp-lists.min.js
wp-pointer.js
wp-pointer.min.js
wp-util.js
wp-util.min.js
wpdialog.js
wpdialog.min.js
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
zxcvbn-async.min.js
zxcvbn.min.js