WordPress/wp-admin/js
desrosj 1da5ba567f Build/Test Tools: Configure UglifyJS to preserve previous behavior.
As of UglifyJS >= 3.18.0, the default behavior is to process input as an ES module. This updates the relevant configurations to ensure the build process continues to use the previous behavior to avoid JavaScript errors in the minified versions of files.

Follow up to [58563], [58586], and [59509].

Props siliconforks, nataliat2004, poena, mai21, SergeyBiryukov.
Fixes #62767. See #61519, #62220.
Built from https://develop.svn.wordpress.org/trunk@59768


git-svn-id: http://core.svn.wordpress.org/trunk@59110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-02-06 17:27:26 +00:00
..
widgets Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
accordion.js Administration: A11y: Fix accordion accessibility. 2024-10-13 19:09:12 +00:00
accordion.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
application-passwords.js Administration: Move tabindex="-1" from notice to JS. 2023-09-17 22:51:24 +00:00
application-passwords.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
auth-app.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
auth-app.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
code-editor.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
code-editor.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
color-picker.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
color-picker.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
comment.js General: Remove ableist language from code comments. 2024-02-11 19:14:19 +00:00
comment.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
common.js Administration: Fix undefined element JS error in pagination handler. 2025-01-30 23:38:23 +00:00
common.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
custom-background.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
custom-background.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
custom-header.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
customize-controls.js Customizer: Allow custom accordion items with obsolete structure. 2024-12-22 20:46:28 +00:00
customize-controls.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
customize-nav-menus.js Administration: A11y: Fix accordion accessibility. 2024-10-13 19:09:12 +00:00
customize-nav-menus.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
customize-widgets.js Administration: A11y: Add role="alert" on JS injected admin notices. 2024-06-21 18:17:14 +00:00
customize-widgets.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
dashboard.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
dashboard.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
edit-comments.js Comments: Avoid reverting comment reply when context menu is open. 2024-12-14 01:32:18 +00:00
edit-comments.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
editor-expand.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
editor-expand.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
editor.js Editor: Change the Text editor label to Code. 2025-01-23 23:54:23 +00:00
editor.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
farbtastic.js External Libraries: Update deprecated jQuery code in Farbtastic lib. 2023-07-17 22:03:26 +00:00
gallery.js Administration: Remove deprecated unload event handlers and use pagehide (and pageshow) when appropriate. 2023-10-09 21:31:27 +00:00
gallery.min.js Administration: Remove deprecated unload event handlers and use pagehide (and pageshow) when appropriate. 2023-10-09 21:31:27 +00:00
image-edit.js Media: Fix viewport scrolling and code style in image rotation. 2024-08-28 16:45:11 +00:00
image-edit.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
inline-edit-post.js Quick/Bulk Edit: Add notice if no items selected. 2024-09-30 18:24:13 +00:00
inline-edit-post.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
inline-edit-tax.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
inline-edit-tax.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
iris.min.js External Libraries: Update the Iris color picker to version 1.1.1. 2021-11-03 19:40:00 +00:00
language-chooser.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
language-chooser.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
link.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
link.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
media-gallery.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
media-gallery.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
media-upload.js External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
media-upload.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
media.js Media: Hide "copied" tooltip once another URL is copied to the clipboard. 2024-10-07 02:49:17 +00:00
media.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
nav-menu.js I18N: Adjust translator comments in nav-menu.js. 2024-11-20 11:22:19 +00:00
nav-menu.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
password-strength-meter.js External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
password-strength-meter.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
password-toggle.js Upgrade/Install: Show/hide toggle on password fields. 2023-06-23 23:09:29 +00:00
password-toggle.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
plugin-install.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
plugin-install.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
post.js Editor: Fix selecting/deselecting multiple unwanted categories when clicking on a Category checkbox on the old Edit Post screen. 2024-11-22 20:10:24 +00:00
post.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
postbox.js Docs: Align spelling with American English. 2023-01-10 09:30:13 +00:00
postbox.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
privacy-tools.js Administration: A11y: Add role="alert" on JS injected admin notices. 2024-06-21 18:17:14 +00:00
privacy-tools.min.js Administration: A11y: Add role="alert" on JS injected admin notices. 2024-06-21 18:17:14 +00:00
revisions.js Revisions: Improve accessibility of revisions selection. 2024-10-13 20:49:13 +00:00
revisions.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
set-post-thumbnail.js I18N: Use wp.i18n for translatable strings in wp-admin/js/set-post-thumbnail.js. 2020-07-07 18:55:04 +00:00
set-post-thumbnail.min.js I18N: Use wp.i18n for translatable strings in wp-admin/js/set-post-thumbnail.js. 2020-07-07 18:55:04 +00:00
site-health.js External Libraries: Accessibility: Clean up clipboard.js Copy buttons from focus management workaround. 2023-12-28 15:27:15 +00:00
site-health.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
site-icon.js Administration: Modernize Site Icon UI in settings, customizer. 2024-08-23 22:47:16 +00:00
site-icon.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
svg-painter.js Administration: Remove old IE9 code from wp-admin/js/svg-painter.js. 2024-09-07 22:44:17 +00:00
svg-painter.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
tags-box.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
tags-box.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
tags-suggest.js Script Loader: Switch to JavaScript translations. 2024-02-18 22:16:14 +00:00
tags-suggest.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
tags.js Taxonomy: Only reset non-button form field values after adding a tag. 2022-04-12 19:37:14 +00:00
tags.min.js Taxonomy: Only reset non-button form field values after adding a tag. 2022-04-12 19:37:14 +00:00
theme-plugin-editor.js Docs: Fix various typos and spelling mistakes. 2024-04-12 17:47:13 +00:00
theme-plugin-editor.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
theme.js Themes: Fix themes search event not firing on enter. 2024-08-19 19:19:17 +00:00
theme.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
updates.js Quick/Bulk Edit: Add notice if no items selected. 2024-09-30 18:24:13 +00:00
updates.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
user-profile.js Application Passwords: Add copy button when adding new password. 2024-09-18 00:14:13 +00:00
user-profile.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
user-suggest.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
user-suggest.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
widgets.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
widgets.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
word-count.js Build/Test Tools: Enable JSDocs to be linted with ESLint. 2020-07-27 23:35:02 +00:00
word-count.min.js Build/Test Tools: Configure UglifyJS to preserve previous behavior. 2025-02-06 17:27:26 +00:00
xfn.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
xfn.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00