[wp-trac] [WordPress Trac] #59760: Expand format support detection for `WP_Image_Editor_GD::supports_mime_type` to include AVIF
WordPress Trac
noreply at wordpress.org
Sat Oct 28 00:11:32 UTC 2023
#59760: Expand format support detection for
`WP_Image_Editor_GD::supports_mime_type` to include AVIF
--------------------------------------+---------------------
Reporter: adamsilverstein | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Description changed by adamsilverstein:
Old description:
> Enable support for AVIF images when PHP's GD supports it.
>
> Currently WordPress does not properly detect GD support for AVIF when
> available in PHP 8.1 and above.
New description:
Enable support for AVIF images when PHP's GD supports it.
Currently WordPress does not properly detect GD support for AVIF when
available in PHP 8.1 and above.
Note that `WP_Image_Editor_Imagick::supports_mime_type` already detects
AVIF support correctly.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59760#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list