[wp-trac] [WordPress Trac] #56817: Investigate new test failure in PHP 8.2
WordPress Trac
noreply at wordpress.org
Thu Feb 23 21:37:06 UTC 2023
#56817: Investigate new test failure in PHP 8.2
-------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch php82 | Focuses:
-------------------------------+---------------------
Comment (by SergeyBiryukov):
Replying to [comment:15 costdev]:
> What is the currently thinking about the desirable end goal?
> - That the accurate PHP/fileinfo-dependent type is returned
(`application/font-woff` vs `font/woff`)?
I think this would be the preferred result here. Let's adjust the tests as
needed.
> - Or that Core returns a consistent type across all PHP/fileinfo
versions (`application/font-woff`)?
Returning a consistent type sounds good in theory, but if it was changed
to `font/woff` upstream, introducing a discrepancy doesn't seem worth it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56817#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list