[wp-trac] [WordPress Trac] #63061: Prepare for PHP 8.5
WordPress Trac
noreply at wordpress.org
Mon Sep 29 18:40:11 UTC 2025
#63061: Prepare for PHP 8.5
-----------------------------+--------------------------------
Reporter: johnbillion | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: php85 has-patch | Focuses: php-compatibility
-----------------------------+--------------------------------
Comment (by swissspidy):
In [changeset:"60811" 60811]:
{{{
#!CommitTicketReference repository="" revision="60811"
Code Modernization: Avoid NAN coercion/cast deprecation warnings.
Coercing `INF` or `NAN` to a string or casting to int is deprecated in PHP
8.5+.
This change addresses two occurrences in core where this was happening.
Props swissspidy.
Fixes #64047. See #63061.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63061#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list