[wp-trac] [WordPress Trac] #61167: AVIF image thumbnail not created !
WordPress Trac
noreply at wordpress.org
Tue Mar 25 14:05:04 UTC 2025
#61167: AVIF image thumbnail not created !
--------------------------------------------+------------------------------
Reporter: joomskys | Owner: adamsilverstein
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 6.8
Component: Media | Version: 6.5
Severity: normal | Resolution: fixed
Keywords: avif image thumbnail has-patch | Focuses: performance
--------------------------------------------+------------------------------
Changes (by adamsilverstein):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"60084" 60084]:
{{{
#!CommitTicketReference repository="" revision="60084"
Media: prevent uploading image types the server doesn’t support.
Normalize behavior between uploading in the media library and uploading
directly to the block editor. Now, when uploading an image with a mime
type the server does not support (either in the media library or the block
editor), the user will see an error message “This image cannot be
processed by the web server. Convert it to JPEG or PNG before uploading”.
Alos, add a new filter `wp_prevent_unsupported_mime_type_uploads` which
determines whether the server should prevent uploads for image types it
doesn't support. The default value is true and the filter also receives
the uploaded image mime type.
Props: joomskys, adamsilverstein, azaozz, swissspidy, joemcgill, flixos90,
audrasjb.
Fixes #61167
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61167#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list