WordPress/wp-admin/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
..
widgets Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
accordion.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
accordion.min.js Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:10:37 +00:00
code-editor.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
code-editor.min.js Code Editor: Define default `gutters` and toggle lint markers based on changes to `lint` option. 2017-10-24 16:35:54 +00:00
color-picker.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
color-picker.min.js Accessibility: Improve the color picker UI accessibility, interaction, and generated markup. 2017-09-03 16:02:46 +00:00
comment.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
comment.min.js
common.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
common.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
custom-background.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
custom-background.min.js Customize: Improve custom background properties UI. 2016-10-26 06:52:29 +00:00
custom-header.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-controls.js Docs: Fix default values for `customize/controls.js`. 2018-07-05 14:07:24 +00:00
customize-controls.min.js TinyMCE: fix setting of zIndex on the dialogs. 2018-05-08 20:54:22 +00:00
customize-nav-menus.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-nav-menus.min.js Customizer: in menus, reset results when closing the 'add items' panel. 2018-02-25 18:48:29 +00:00
customize-widgets.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
customize-widgets.min.js Customize: Fix positioning of device-previewed window when publish settings are open. 2017-10-13 21:21:55 +00:00
dashboard.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
dashboard.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
edit-comments.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
edit-comments.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
editor-expand.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +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: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
editor.min.js Editor: when keeping the scroll position treat all shortcodes as preview-able. Otherwise in some cases the marker span can get stuck inside the shortcode and break the markup. 2018-01-23 17:34:32 +00:00
farbtastic.js
gallery.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
gallery.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
image-edit.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
image-edit.min.js Media: Fix image cropping on touch screen devices. 2018-03-09 17:27:31 +00:00
inline-edit-post.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
inline-edit-post.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
inline-edit-tax.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
inline-edit-tax.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
iris.min.js Customize: Add hue-only mode to color picker. 2016-10-25 22:33:30 +00:00
language-chooser.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
language-chooser.min.js
link.js Docs: Improve JSDoc for `admin/link.js`. 2018-06-28 02:32:22 +00:00
link.min.js
media-gallery.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
media-gallery.min.js
media-upload.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
media-upload.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
media.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
media.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
nav-menu.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
nav-menu.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
password-strength-meter.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
password-strength-meter.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
plugin-install.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
plugin-install.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
post.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
post.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
postbox.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
postbox.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
revisions.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +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 General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
set-post-thumbnail.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
svg-painter.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
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 General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
tags-box.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
tags-suggest.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
tags-suggest.min.js Taxonomy: Use REST API for ajax tag search. 2018-01-30 00:17:31 +00:00
tags.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
tags.min.js Taxonomy: Add a "delete" button on term edit page. 2017-05-12 19:26:41 +00:00
theme-plugin-editor.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
theme-plugin-editor.min.js Accessibility: Improve the File Editors interstitial warning. 2017-10-16 17:59:52 +00:00
theme.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
theme.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
updates.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
updates.min.js Administration: Make sure `wp.updates.addAdminNotice` is displayed after the page header and does not unexpectedly push down "Add New" and other buttons. 2018-02-11 17:28:30 +00:00
user-profile.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
user-profile.min.js Login: Password reset - add hide icon & confirm weak password checkbox. 2017-09-21 21:29:48 +00:00
user-suggest.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
user-suggest.min.js
widgets.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
widgets.min.js General: Explicitly assigns all JS globals to the window. 2018-08-19 13:33:24 +00:00
word-count.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
word-count.min.js
wp-fullscreen-stub.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
wp-fullscreen-stub.min.js
xfn.js Docs: Add file doc `@output` annotations. 2018-06-28 02:30:15 +00:00
xfn.min.js Privacy: fix styling on personal data tables. 2018-05-10 16:02:21 +00:00