Opened 11 months ago
Closed 4 months ago
#59760 closed defect (bug) (invalid)
Expand format support detection for `WP_Image_Editor_GD::supports_mime_type` to include AVIF
Reported by: | adamsilverstein | Owned by: | adamsilverstein |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Media | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description (last modified by )
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.
Attachments (1)
Change History (7)
This ticket was mentioned in PR #5584 on WordPress/wordpress-develop by @adamsilverstein.
11 months ago
#2
- Keywords has-patch has-unit-tests added; needs-patch removed
Enable support for AVIF images when PHP GD supports it.
Before this change, WordPress did not properly detect GD support for AVIF when available in PHP 8.1 and above.
Trac ticket: https://core.trac.wordpress.org/ticket/59760
Note: See
TracTickets for help on using
tickets.
Related to #51228