[wp-trac] [WordPress Trac] #50784: Stop using `preg_match()` in `wp_opcache_invalidate()`
WordPress Trac
noreply at wordpress.org
Mon Jul 27 16:11:32 UTC 2020
#50784: Stop using `preg_match()` in `wp_opcache_invalidate()`
-----------------------------+---------------------
Reporter: mikeschroder | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+---------------------
Comment (by SergeyBiryukov):
[attachment:"50784.substr.diff"] would be my preference here, that seems
the most consistent with other similar checks in core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50784#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list