[wp-trac] [WordPress Trac] #57578: Deprecated preg_replace() warning PHP 8.1
WordPress Trac
noreply at wordpress.org
Tue Feb 7 14:31:52 UTC 2023
#57578: Deprecated preg_replace() warning PHP 8.1
-----------------------------+---------------------
Reporter: ipajen | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: php81 has-patch | Focuses:
-----------------------------+---------------------
Comment (by SergeyBiryukov):
Replying to [comment:3 jrf]:
> Is there anything we could do unit test-wise to safeguard this ? I
haven't looked at the code in detail (on my break), but I fear this may be
difficult due to it being part of the global page generation code ?
Yeah, it's not immediately clear to me how to write a test case for this.
We can follow up later if anyone comes up with an idea :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57578#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list