[wp-trac] [WordPress Trac] #64050: PHP 8.5: Changed mime type for HEIF test image
WordPress Trac
noreply at wordpress.org
Mon Sep 29 16:45:50 UTC 2025
#64050: PHP 8.5: Changed mime type for HEIF test image
-------------------------------+-----------------------------
Reporter: swissspidy | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.9
Component: Media | Version:
Severity: normal | Keywords: has-patch php85
Focuses: php-compatibility |
-------------------------------+-----------------------------
Parent ticket for all things PHP 8.5: #63061
-----
In PHP 8.5, the following test fails:
{{{
1) Tests_Functions::test_wp_get_image_mime with data set #13
('/var/www/tests/phpunit/includ...e.heic', 'image/heic')
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'image/heic'
+'image/heif'
}}}
So the detected mime type is different now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64050>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list