WordPress/wp-includes/js
Scott Taylor e3eaed1c78 Add two properties to `media.model.Attachments.propmap`: `include` and `exclude`, which are aliases for `post__in` and `post__not_in`.
This allows you to instantiate a library that includes and/or excludes specific attachments by passing a single ID or an array of IDs.

Example usage:
{{{
wp.media({frame: 'post', library: {include: [414, 415]}}).open()
wp.media({frame: 'post', library: {include: 414}}).open()
wp.media({frame: 'post', library: {exclude: [414, 415]}}).open()
wp.media({frame: 'post', library: {exclude: 414}}).open()
}}}

Fixes #26587.

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


git-svn-id: http://core.svn.wordpress.org/trunk@29531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-23 03:38:16 +00:00
..
crop
imgareaselect
jcrop
jquery
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
customize-models.js
customize-models.min.js
customize-preview-widgets.js
customize-preview-widgets.min.js
customize-preview.js Add some docs to Customizer JS. 2014-08-08 23:31:15 +00:00
customize-preview.min.js
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 Add two properties to `media.model.Attachments.propmap`: `include` and `exclude`, which are aliases for `post__in` and `post__not_in`. 2014-09-23 03:38:16 +00:00
media-models.min.js Add two properties to `media.model.Attachments.propmap`: `include` and `exclude`, which are aliases for `post__in` and `post__not_in`. 2014-09-23 03:38:16 +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