[wp-trac] [WordPress Trac] #49652: Introduce new PHP cross-version compatibility functions, `str_contains()`
WordPress Trac
noreply at wordpress.org
Tue Mar 17 18:17:18 UTC 2020
#49652: Introduce new PHP cross-version compatibility functions, `str_contains()`
------------------------------------------+------------------------------
Reporter: knutsp | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.3.2
Severity: minor | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Changes (by ayeshrajans):
* Attachment "49652-1.patch" added.
Here is a patch to polyfill. We can replace instances with strpos() !==
false instances in core if we have this core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49652>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list