Make WordPress Core

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's profile adamsilverstein Owned by: adamsilverstein's profile adamsilverstein
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch has-unit-tests
Focuses: Cc:

Description (last modified by adamsilverstein)

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)

59760.diff (2.0 KB) - added by adamsilverstein 11 months ago.

Download all attachments as: .zip

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

#3 @adamsilverstein
11 months ago

  • Description modified (diff)

#4 @adamsilverstein
11 months ago

  • Owner set to adamsilverstein
  • Status changed from new to assigned

#5 @adamsilverstein
11 months ago

  • Milestone changed from 6.5 to Future Release

#6 @adamsilverstein
4 months ago

  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.