Opened 8 months ago
Closed 8 months ago
#64050 closed defect (bug) (fixed)
PHP 8.5: Changed mime type for HEIF test image
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Media | Keywords: | has-patch php85 has-unit-tests |
| Focuses: | php-compatibility | Cc: |
Description
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.
Change History (2)
This ticket was mentioned in PR #10079 on WordPress/wordpress-develop by @swissspidy.
8 months ago
#1
- Keywords has-unit-tests added
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/64050