WordPress/wp-includes/js
Adam Silverstein f94f194552 Media: enable AVIF support.
Add support for uploading, editing and saving AVIF images when supported by the server.

Add 'image/avif' to supported mime types. Correctly identify AVIF images and sizes even when PHP doesn't support AVIF. Resize uploaded AVIF files (when supported) and use for front end markup.

Props adamsilverstein, lukefiretoss, ayeshrajans, navjotjsingh, Tyrannous, jb510, gregbenz, nickpagz, JavierCasares, mukesh27, yguyon, swissspidy.
Fixes #51228.


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


git-svn-id: http://core.svn.wordpress.org/trunk@57025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-02-02 17:48: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 External Libraries: Update Jcrop to version 0.9.15. 2022-03-24 20:07:05 +00:00
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 Media: enable AVIF support. 2024-02-02 17:48:15 +00:00
swfupload
thickbox Media: enable AVIF support. 2024-02-02 17:48:15 +00:00
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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
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 External Libraries: Update jQuery hoverIntent to version 1.10.2. 2022-01-03 15:03:18 +00:00
hoverIntent.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
hoverintent-js.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: enable AVIF support. 2024-02-02 17:48:15 +00:00
media-views.min.js Media: enable AVIF support. 2024-02-02 17:48:15 +00:00
quicktags.js Editor: Revert [51748] and [51649]. They intorduced a bug where `wp.editor` may be replaced with `wp.oldEditor` in certain cases. 2021-09-08 23:29:58 +00:00
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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
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 Administration: Audible messages on AJAX error cases. 2022-07-16 01:08:10 +00:00
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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
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 Embeds: Conditionally enqueue `wp-embed` only if needed and send `ready` message in case script loads after post embed windows. 2021-11-11 02:49:18 +00:00
wp-embed-template.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
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 Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
wp-sanitize.js
wp-sanitize.min.js Build/Test Tools: Update some NPM dependencies to the latest versions. 2022-04-08 20:07:18 +00:00
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