[wp-trac] [WordPress Trac] #58220: Replace usage of substr with str_starts_with and str_ends_with
WordPress Trac
noreply at wordpress.org
Fri Apr 28 10:56:36 UTC 2023
#58220: Replace usage of substr with str_starts_with and str_ends_with
-------------------------+------------------------------
Reporter: Soean | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Changes (by ocean90):
* type: defect (bug) => enhancement
Comment:
Replying to [comment:2 Clorith]:
> Alternatively, core would need to create a polyfill for the functions
Polyfills are already available as of [52040].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58220#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list