[wp-trac] [WordPress Trac] #64050: PHP 8.5: Changed mime type for HEIF test image

WordPress Trac noreply at wordpress.org
Mon Sep 29 17:59:10 UTC 2025


#64050: PHP 8.5: Changed mime type for HEIF test image
--------------------------------------------+------------------------------
 Reporter:  swissspidy                      |       Owner:  swissspidy
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:  6.9
Component:  Media                           |     Version:
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  has-patch php85 has-unit-tests  |     Focuses:  php-
                                            |  compatibility
--------------------------------------------+------------------------------
Changes (by swissspidy):

 * owner:  (none) => swissspidy
 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60810" 60810]:
 {{{
 #!CommitTicketReference repository="" revision="60810"
 Media: Fix HEIF mime type assertion in test for PHP 8.5.

 In PHP 8.5, the test image's mime type is now detected as `image/heif`,
 not `image/heic`.

 Props swissspidy, adamsilverstein.
 Fixes #64050.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64050#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list