WordPress/wp-includes/js
omarreiss bdbaccce37 General: Explicitly assigns all JS globals to the window.
Many variables in the JavaScript were defined in the global scope without being explicitly assigned to the window. When built with Webpack, the code gets encapsulated in anonymous functions and those implicit globals get assigned to the wrong scope. This patch prevents that from happening.

Fixes #44371. See #43731.

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


git-svn-id: http://core.svn.wordpress.org/trunk@43406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-08-19 13:33:24 +00:00
..
codemirror Remove JSHint due to license compatibility 2018-01-23 01:29:32 +00:00
crop
imgareaselect Media: Update minified version of imgAreaSelect after [42874]. 2018-04-03 19:46:30 +00:00
jcrop
jquery Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
mediaelement Customize: Ensure media playlists get initialized after selective refresh; expose new `wp.playlist.initialize()` API. 2018-01-29 23:56:29 +00:00
plupload Docs: Improve wp-admin JSDoc structural data globally. 2017-12-15 13:42:46 +00:00
swfupload Remove SWFUpload, 2017-09-21 16:35:48 +00:00
thickbox Administration: Thickbox: Fix conflicts with the Plugin details and native Thickbox modals. 2017-09-09 14:14:43 +00:00
tinymce TinyMCE: update to 4.8.0, changelog: https://www.tiny.cloud/docs/changelog/#version480july112018 2018-07-16 08:07:26 +00:00
admin-bar.js Toolbar: Check if `obj` is set before using it. 2018-08-06 19:33:28 +00:00
admin-bar.min.js Toolbar: Check if `obj` is set before using it. 2018-08-06 19:33:28 +00:00
api-request.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
api-request.min.js REST API: Handle api-request query parameters with plain permalinks. 2018-04-09 13:10:31 +00:00
autosave.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
autosave.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
backbone.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
backbone.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
colorpicker.js
colorpicker.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
comment-reply.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
comment-reply.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
customize-base.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-base.min.js Customize: Constrain focus when overlay notification is displayed. 2017-10-10 03:34:53 +00:00
customize-loader.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-loader.min.js Customize: Eliminate use of customize-loader in core so Customizer is opened consistently in `top` window. 2017-10-09 16:04:48 +00:00
customize-models.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-models.min.js Customizer: Minimize duplicate header crops in the media library. 2017-10-04 14:59:48 +00:00
customize-preview-nav-menus.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-preview-nav-menus.min.js Customize: Fix ability to shift-click on placeholder/pre-saved nav menu items in preview to focus on corresponding control. 2016-12-10 23:47:41 +00:00
customize-preview-widgets.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-preview-widgets.min.js Widgets: Update preview for Gallery widget when one of its attachments is modified in the media modal, outside the customized state. 2017-10-16 06:46:48 +00:00
customize-preview.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-preview.min.js Customize: Prevent `history.replaceState()` and `history.pushState()` calls from causing error in customize preview before DOM ready. 2017-11-02 19:27:47 +00:00
customize-selective-refresh.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-selective-refresh.min.js Customize: Ensure media playlists get initialized after selective refresh; expose new `wp.playlist.initialize()` API. 2018-01-29 23:56:29 +00:00
customize-views.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-views.min.js Customize: Prevent vertical clipping of thumbnail in header image customizer control. 2017-02-20 00:10:49 +00:00
heartbeat.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
heartbeat.min.js Customize: Add changeset locking in Customizer to prevent users from overriding each other's changes. 2017-10-12 04:01:46 +00:00
hoverIntent.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
hoverIntent.min.js Update hoverIntent to 1.8.1. 2015-03-11 17:15:27 +00:00
imagesloaded.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
json2.js External Libraries: update `json2.js` to the `2015-05-03` version. Crockford does not tag releases: https://github.com/douglascrockford/JSON-js/commits/master 2015-10-06 14:02:25 +00:00
json2.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
masonry.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
mce-view.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
mce-view.min.js Editor: Fix determining TinyMCE editor width when in inline mode instead of iframe mode. 2017-12-13 05:17:48 +00:00
media-audiovideo.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
media-audiovideo.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-editor.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
media-editor.min.js Media: Remove `alt` fallbacks to improve accessibility. 2016-10-19 03:06:28 +00:00
media-grid.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
media-grid.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-models.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
media-models.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
media-views.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
media-views.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
quicktags.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
quicktags.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
shortcode.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
shortcode.min.js Shortcodes: Allow using single quotes for empty value attributes. 2017-07-11 00:54:41 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
twemoji.js Emoji: Update Twemoji to version 11.0. 2018-06-28 02:42:55 +00:00
twemoji.min.js Emoji: Update Twemoji to version 11.0. 2018-06-28 02:42:55 +00:00
underscore.min.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
utils.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
utils.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
wp-a11y.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-a11y.min.js Accessibility: Make Safari 10 + VoiceOver announce repeated, identical, `wp.a11y.speak()` messages. 2017-04-19 19:53:42 +00:00
wp-ajax-response.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
wp-ajax-response.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
wp-api.js REST API: generate a valid fallback URI in wp.api.utils.getRootURL. 2018-08-11 18:51:24 +00:00
wp-api.min.js REST API: generate a valid fallback URI in wp.api.utils.getRootURL. 2018-08-11 18:51:24 +00:00
wp-auth-check.js Docs: Improve JSDoc for `auth-check.js`. 2018-06-28 02:33:38 +00:00
wp-auth-check.min.js jQuery: Replace use of the `.load()` method for the "load" event with `.on( 'load', handler )`. 2016-01-13 17:22:27 +00:00
wp-backbone.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-backbone.min.js In wp.Backbone.Subviews, extract subviews with proper Underscore.js functions. 2016-01-15 04:02:28 +00:00
wp-custom-header.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-custom-header.min.js Themes: Improve a11y and extendability of custom video headers. 2016-11-16 23:26:31 +00:00
wp-embed-template.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-embed-template.min.js Embeds: After [37745], check if a featured image exists before attaching an event listener. 2016-07-05 16:16:57 +00:00
wp-embed.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-embed.min.js Embeds: Correctly remove security attribute from iframes in IE 10 and IE 11. 2016-11-23 13:38:33 +00:00
wp-emoji-loader.js Emoji: Update Twemoji to version 11.0. 2018-06-28 02:42:55 +00:00
wp-emoji-loader.min.js Emoji: Update Twemoji to version 11.0. 2018-06-28 02:42:55 +00:00
wp-emoji-release.min.js Emoji: Update Twemoji to version 11.0. 2018-06-28 02:42:55 +00:00
wp-emoji.js Docs: Improve JSDoc for `emoji.js`. 2018-06-28 02:35:44 +00:00
wp-emoji.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-list-revisions.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-list-revisions.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-lists.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-lists.min.js Bump grunt-contrib-uglify from 1.0.1 to 2.0.0 2016-11-03 05:40:34 +00:00
wp-pointer.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-pointer.min.js
wp-sanitize.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-sanitize.min.js Security: Rename new `wp.sanitize.sanitizeText` to `stripTagsAndEncodeText`.' 2017-10-04 18:58:47 +00:00
wp-util.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-util.min.js Multisite: Change `WP_Network` `id` property to an integer. 2016-06-26 14:26:29 +00:00
wpdialog.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wpdialog.min.js
wplink.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
wplink.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
zxcvbn-async.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
zxcvbn-async.min.js
zxcvbn.min.js Libraries: Update zxcvbn from version 1.0 to 4.4.1 2016-12-13 11:23:42 +00:00