WordPress/wp-admin/includes
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
..
admin-filters.php Script Loader: Replace hardcoded output of style tags with calls to wp_add_inline_style. 2023-09-25 17:06:34 +00:00
admin.php General: add nonce for block theme preview activation. 2023-07-11 05:03:23 +00:00
ajax-actions.php I18N: Improve translator comments for strings containing date formats. 2023-11-26 16:43:30 +00:00
bookmark.php Docs: Various improvements in Bookmark Administration API function descriptions, as per docblocks standards. 2023-05-03 10:03:21 +00:00
class-automatic-upgrader-skin.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
class-bulk-plugin-upgrader-skin.php
class-bulk-theme-upgrader-skin.php
class-bulk-upgrader-skin.php Administration: Use wp_admin_notice() more in /wp-admin/includes/. 2023-09-17 15:23:22 +00:00
class-core-upgrader.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-09 19:52:24 +00:00
class-custom-background.php Docs: Improve documentation for Custom_Image_Header and Custom_Background constructors. 2023-12-07 15:14:27 +00:00
class-custom-image-header.php Coding Standards: Add missing escaping in Custom_Image_Header::step_2(). 2024-01-26 14:20:12 +00:00
class-file-upload-upgrader.php Uploads: Check for and verify ZIP archives. 2024-01-30 14:23:12 +00:00
class-ftp-pure.php
class-ftp-sockets.php
class-ftp.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
class-language-pack-upgrader-skin.php
class-language-pack-upgrader.php I18N: Ensure .l10n.php files are deleted when upgrading language packs. 2024-01-30 10:30:20 +00:00
class-pclzip.php Docs: Replace "sanity" with "confidence" for inclusive language. 2024-01-03 21:59:19 +00:00
class-plugin-installer-skin.php Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards. 2023-06-14 06:34:27 +00:00
class-plugin-upgrader-skin.php Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards. 2023-06-14 06:34:27 +00:00
class-plugin-upgrader.php Docs: Replace "sanity" with "confidence" for inclusive language. 2024-01-03 21:59:19 +00:00
class-theme-installer-skin.php Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards. 2023-06-14 06:34:27 +00:00
class-theme-upgrader-skin.php Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards. 2023-06-14 06:34:27 +00:00
class-theme-upgrader.php Upgrade/Install: Check theme compatibility during bulk upgrades. 2024-01-08 23:19:16 +00:00
class-walker-category-checklist.php Docs: Wrap inline @see tags in curly braces. 2023-08-24 09:01:16 +00:00
class-walker-nav-menu-checklist.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:32:23 +00:00
class-walker-nav-menu-edit.php Coding Standards: Restore more descriptive variable names in a few class methods. 2023-09-14 12:46:20 +00:00
class-wp-ajax-upgrader-skin.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
class-wp-application-passwords-list-table.php Docs: A host of corrections and improvements to inline documentation. 2023-05-08 22:37:24 +00:00
class-wp-automatic-updater.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:28:26 +00:00
class-wp-comments-list-table.php Comments: Use post_password_required() for comment capability checks. 2024-01-15 17:42:18 +00:00
class-wp-community-events.php Coding Standards: Include one space after function keyword for closures. 2023-09-12 15:23:18 +00:00
class-wp-debug-data.php Site Health: Include site ID in debug data on multisite installations. 2024-01-07 16:09:21 +00:00
class-wp-filesystem-base.php Docs: Use US spelling and correct a typing mistake. 2023-10-11 07:05:25 +00:00
class-wp-filesystem-direct.php Filesystem API: Correct and improve the return type documentation for the dirlist() method in WP_Filesystem_Base and its extending classes. 2023-05-03 21:30:19 +00:00
class-wp-filesystem-ftpext.php Filesystem API: Correct and improve the return type documentation for the dirlist() method in WP_Filesystem_Base and its extending classes. 2023-05-03 21:30:19 +00:00
class-wp-filesystem-ftpsockets.php Filesystem API: Correct and improve the return type documentation for the dirlist() method in WP_Filesystem_Base and its extending classes. 2023-05-03 21:30:19 +00:00
class-wp-filesystem-ssh2.php Docs: Correct some typos in docblocks and inline comments. 2024-01-10 11:57:15 +00:00
class-wp-importer.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-importer.php. 2023-08-14 09:59:20 +00:00
class-wp-internal-pointers.php Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards. 2023-06-14 12:57:20 +00:00
class-wp-links-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-list-table-compat.php Docs: Add missing descriptions for _WP_List_Table_Compat methods. 2020-11-14 16:54:08 +00:00
class-wp-list-table.php Comments: Use post_password_required() for comment capability checks. 2024-01-15 17:42:18 +00:00
class-wp-media-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-ms-sites-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-ms-themes-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-ms-users-list-table.php Docs: Fix typo in the ms_user_list_site_class filter description. 2023-11-15 09:33:26 +00:00
class-wp-plugin-install-list-table.php Administration: Use wp_admin_notice() more in /wp-admin/includes/. 2023-09-17 15:23:22 +00:00
class-wp-plugins-list-table.php Plugins: Fix broken sprintf() call in plugins list table. 2023-10-11 04:33:32 +00:00
class-wp-post-comments-list-table.php
class-wp-posts-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-privacy-data-export-requests-list-table.php
class-wp-privacy-data-removal-requests-list-table.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:32:23 +00:00
class-wp-privacy-policy-content.php Text Changes: Update mentions of “web site” to “website” for consistency. 2023-11-22 17:44:24 +00:00
class-wp-privacy-requests-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-screen.php Administration: Remove invalid attribute maxlength on number input. 2024-01-11 17:44:12 +00:00
class-wp-site-health-auto-updates.php Coding Standards: Upgrade WPCS to version 3.0.0. 2023-09-26 00:27:12 +00:00
class-wp-site-health.php Site Health: Remove unused $wpdb global in utf8mb4 support test. 2023-11-28 20:24:22 +00:00
class-wp-site-icon.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-site-icon.php. 2023-04-23 04:02:18 +00:00
class-wp-terms-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-theme-install-list-table.php Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards. 2023-06-14 06:34:27 +00:00
class-wp-themes-list-table.php Docs: A host of corrections and improvements to inline documentation. 2023-05-08 22:37:24 +00:00
class-wp-upgrader-skin.php Upgrade/Install: Add port number to target origin when decrementing update counts. 2023-12-01 01:35:28 +00:00
class-wp-upgrader-skins.php
class-wp-upgrader.php Upgrade/Install: Fix broken sprintf() call when deleting a backup. 2023-09-10 07:33:22 +00:00
class-wp-users-list-table.php Docs: Correct some typos in docblocks and inline comments. 2024-01-10 11:57:15 +00:00
comment.php
continents-cities.php
credits.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
dashboard.php Comments: Use post_password_required() for comment capability checks. 2024-01-15 17:42:18 +00:00
deprecated.php Docs: Correct some typos in docblocks and inline comments. 2024-01-10 11:57:15 +00:00
edit-tag-messages.php
export.php General: Replace some instances of "blog" with "site" in documentation, translator comments, and user-facing text strings. 2023-06-19 18:27:27 +00:00
file.php Docs: Improve documentation for wp_tempnam() and download_url(). 2023-10-29 00:16:26 +00:00
image-edit.php Media: enable AVIF support. 2024-02-02 17:48:15 +00:00
image.php Media: enable AVIF support. 2024-02-02 17:48:15 +00:00
import.php
list-table.php
media.php Media: enable AVIF support. 2024-02-02 17:48:15 +00:00
menu.php Docs: Replace incorrect @private tags. 2023-11-06 09:27:23 +00:00
meta-boxes.php I18N: Improve translator comments for strings containing date formats. 2023-11-26 16:43:30 +00:00
misc.php Docs: Format new_admin_email_content placeholders as a list. 2024-01-16 04:06:18 +00:00
ms-admin-filters.php
ms-deprecated.php
ms.php Upload: Add missing escaping in upload_space_setting(). 2023-12-08 21:26:29 +00:00
nav-menu.php Administration: Use wp_admin_notice() more in /wp-admin/includes/. 2023-09-17 15:23:22 +00:00
network.php Administration: Use wp_admin_notice() more in /wp-admin/includes/. 2023-09-17 15:23:22 +00:00
noop.php Themes: Fix fatal error in load-styles.php. 2023-09-21 01:27:26 +00:00
options.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-09 20:07:22 +00:00
plugin-install.php Administration: Use wp_admin_notice() in /wp-admin/includes. 2023-09-14 01:13:20 +00:00
plugin.php I18N: Introduce a more performant localization library. 2024-01-23 13:34:11 +00:00
post.php Editor: Add allowed_blocks field to block registration and REST API 2024-02-02 13:01:21 +00:00
privacy-tools.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
revision.php Coding Standards: Remove superfluous blank lines at the end of various functions. 2023-09-08 10:03:21 +00:00
schema.php Media: enable AVIF support. 2024-02-02 17:48:15 +00:00
screen.php
taxonomy.php Coding Standards: Use strict comparison in wp-admin/includes/taxonomy.php. 2023-03-10 07:04:20 +00:00
template.php Docs: Consistently document the $body_id global as a string. 2023-12-11 12:11:22 +00:00
theme-install.php Coding Standards: Remove superfluous blank lines at the end of various functions. 2023-09-08 10:03:21 +00:00
theme.php I18N: Delete .l10n.php files when deleting a theme. 2024-01-30 10:32:12 +00:00
translation-install.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:51:14 +00:00
update-core.php Editor: Update the minimum compatible version of Gutenberg. 2024-01-30 11:41:17 +00:00
update.php Administration: Fix typos in wp_admin_notice() arguments in a few instances. 2023-11-08 11:06:22 +00:00
upgrade.php Themes: Clean up inactive themes' theme mods from being autoloaded as part of upcoming 6.5 upgrade routine. 2023-12-04 19:51:23 +00:00
user.php Docs: Improve some DocBlocks and inline comments per the documentation standards. 2023-11-17 13:29:26 +00:00
widgets.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:28:26 +00:00