Files
wordpress/wp-includes
Adam Silverstein 3abd359eba Media: skip server image support check when using client-side media.
When uploading images via the REST API with `generate_sub_sizes` set to `false`, skip server support checks since processing is handled on the client side. Fix an issue where uploads of formats like AVIF fail with `rest_upload_image_type_not_supported`, even though the client will  handle all image processing and the server doesn't need to support the format.

See also https://github.com/WordPress/gutenberg/issues/76369 and https://github.com/WordPress/gutenberg/pull/76371.

Props adamsilverstein, westonruter, andrewserong, mukesh27.
Fixes #64836. See #62717.


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


git-svn-id: http://core.svn.wordpress.org/trunk@61262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-12 05:33:47 +00:00
..
2026-03-05 11:58:29 +00:00
2026-02-20 08:42:48 +00:00