WordPress/wp-includes/js
joedolson 3664cc3698 Media: Prevent local edits during media upload.
Prevent `options.allowLocalEdits` from toggling to true during the upload cycle. Otherwise, media meta fields can be edited, but the data will be lost as soon as the upload process is completed.

Props codepo8, oglekler, nicolefurlan, antpb, syamraj24, joedolson.
Fixes #58783, #23374.
Built from https://develop.svn.wordpress.org/trunk@57515


git-svn-id: http://core.svn.wordpress.org/trunk@57016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-01 16:28:15 +00:00
..
codemirror
crop
dist Editor: Update WordPress packages to Gutenberg 16.7 RC3. 2024-01-31 12:59:56 +00:00
imgareaselect Media: Update admin image editor design. 2023-06-14 20:42:27 +00:00
jcrop
jquery External Libraries: Update jQuery to version 3.7.1. 2023-08-28 17:14:23 +00:00
mediaelement Media: Enable selective optout for video and audio shortcodes. 2023-02-07 16:00:42 +00:00
plupload External Libraries: Accessibility: Clean up clipboard.js Copy buttons from focus management workaround. 2023-12-28 15:27:15 +00:00
swfupload
thickbox
tinymce Docs: Replace "sanity" with "confidence" for inclusive language. 2024-01-03 21:59:19 +00:00
admin-bar.js
admin-bar.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
api-request.js
api-request.min.js
autosave.js
autosave.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
backbone.js External Libraries: Update Backbone.js to version 1.5.0. 2023-08-11 16:12:21 +00:00
backbone.min.js External Libraries: Update Backbone.js to version 1.5.0. 2023-08-11 16:12:21 +00:00
clipboard.js External Libraries: Update clipboard and polyfill-library. 2022-10-04 15:55:23 +00:00
clipboard.min.js External Libraries: Update clipboard and polyfill-library. 2022-10-04 15:55:23 +00:00
colorpicker.js
colorpicker.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
comment-reply.js Docs: Align spelling with American English. 2023-01-10 09:30:13 +00:00
comment-reply.min.js
customize-base.js Docs: Fix a few more typos in DocBlocks. 2023-05-20 10:19:23 +00:00
customize-base.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
customize-loader.js
customize-loader.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
customize-models.js
customize-models.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
customize-preview-nav-menus.js
customize-preview-nav-menus.min.js
customize-preview-widgets.js
customize-preview-widgets.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
customize-preview.js
customize-preview.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
customize-selective-refresh.js
customize-selective-refresh.min.js
customize-views.js
customize-views.min.js
heartbeat.js Administration: Remove deprecated unload event handlers and use pagehide (and pageshow) when appropriate. 2023-10-09 21:31:27 +00:00
heartbeat.min.js Administration: Remove deprecated unload event handlers and use pagehide (and pageshow) when appropriate. 2023-10-09 21:31:27 +00:00
hoverintent-js.min.js
hoverIntent.js
hoverIntent.min.js
imagesloaded.min.js External Libraries: Update imagesLoaded to version 5.0.0. 2023-08-11 18:18:26 +00:00
json2.js
json2.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
masonry.min.js
mce-view.js Administration: Remove deprecated unload event handlers and use pagehide (and pageshow) when appropriate. 2023-10-09 21:31:27 +00:00
mce-view.min.js Administration: Remove deprecated unload event handlers and use pagehide (and pageshow) when appropriate. 2023-10-09 21:31:27 +00:00
media-audiovideo.js Editor: Update WordPress packages to Gutenberg 16.7 RC3. 2024-01-31 12:59:56 +00:00
media-audiovideo.min.js Editor: Update WordPress packages to Gutenberg 16.7 RC3. 2024-01-31 12:59:56 +00:00
media-editor.js
media-editor.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
media-grid.js Editor: Update WordPress packages to Gutenberg 16.7 RC3. 2024-01-31 12:59:56 +00:00
media-grid.min.js Editor: Update WordPress packages to Gutenberg 16.7 RC3. 2024-01-31 12:59:56 +00:00
media-models.js Editor: Update WordPress packages to Gutenberg 16.7 RC3. 2024-01-31 12:59:56 +00:00
media-models.min.js Editor: Update WordPress packages to Gutenberg 16.7 RC3. 2024-01-31 12:59:56 +00:00
media-views.js Media: Prevent local edits during media upload. 2024-02-01 16:28:15 +00:00
media-views.min.js Media: Prevent local edits during media upload. 2024-02-01 16:28:15 +00:00
quicktags.js
quicktags.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
shortcode.js
shortcode.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Emoji: Always skip nodes with the wp-exclude-emoji CSS class. 2023-02-02 00:53:25 +00:00
twemoji.min.js Emoji: Always skip nodes with the wp-exclude-emoji CSS class. 2023-02-02 00:53:25 +00:00
underscore.js External Libraries: Update Underscore.js to version 1.13.6. 2022-09-27 15:18:25 +00:00
underscore.min.js External Libraries: Update Underscore.js to version 1.13.6. 2022-09-27 15:18:25 +00:00
utils.js
utils.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
wp-ajax-response.js
wp-ajax-response.min.js Build/Test Tools: Update NPM dependencies to their latest versions. 2022-09-23 19:55:30 +00:00
wp-api.js Docs: Align spelling with American English. 2023-01-10 09:30:13 +00:00
wp-api.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
wp-auth-check.js
wp-auth-check.min.js
wp-backbone.js
wp-backbone.min.js
wp-custom-header.js
wp-custom-header.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
wp-embed-template.js
wp-embed-template.min.js
wp-embed.js Embeds: Modernize wp-embed script with removal of obsolete IE10/IE11 code and support for WP<4.4. 2023-08-10 19:49:17 +00:00
wp-embed.min.js Embeds: Modernize wp-embed script with removal of obsolete IE10/IE11 code and support for WP<4.4. 2023-08-10 19:49:17 +00:00
wp-emoji-loader.js Emoji: Suppress console errors from sessionStorage usage in sandboxed post embed iframe. 2023-08-04 00:23:25 +00:00
wp-emoji-loader.min.js Emoji: Suppress console errors from sessionStorage usage in sandboxed post embed iframe. 2023-08-04 00:23:25 +00:00
wp-emoji-release.min.js Emoji: Always skip nodes with the wp-exclude-emoji CSS class. 2023-02-02 00:53:25 +00:00
wp-emoji.js Emoji: Always skip nodes with the wp-exclude-emoji CSS class. 2023-02-02 00:53:25 +00:00
wp-emoji.min.js Emoji: Always skip nodes with the wp-exclude-emoji CSS class. 2023-02-02 00:53:25 +00:00
wp-list-revisions.js
wp-list-revisions.min.js
wp-lists.js Editor: Improve accessibility of new custom field UI. 2023-06-24 14:32:20 +00:00
wp-lists.min.js Editor: Improve accessibility of new custom field UI. 2023-06-24 14:32:20 +00:00
wp-pointer.js
wp-pointer.min.js
wp-sanitize.js
wp-sanitize.min.js
wp-util.js General: Throw a more descriptive error when templates are not found. 2022-09-20 03:52:10 +00:00
wp-util.min.js General: Throw a more descriptive error when templates are not found. 2022-09-20 03:52:10 +00:00
wpdialog.js Code Modernization: Fix a JS error in wpdialog. 2023-01-24 21:13:12 +00:00
wpdialog.min.js Code Modernization: Fix a JS error in wpdialog. 2023-01-24 21:13:12 +00:00
wplink.js
wplink.min.js Build/Test Tools: Update npm dependencies. 2023-02-02 16:36:32 +00:00
zxcvbn-async.js
zxcvbn-async.min.js
zxcvbn.min.js