[wp-trac] [WordPress Trac] #60241: Revert usage of str_contains() in older bundled themes
WordPress Trac
noreply at wordpress.org
Fri Jan 12 19:11:50 UTC 2024
#60241: Revert usage of str_contains() in older bundled themes
----------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.5
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"57276" 57276]:
{{{
#!CommitTicketReference repository="" revision="57276"
Twenty Twenty: Revert usage of `str_contains()` in theme files.
The theme supports WordPress 4.7 or later, while the polyfill for
`str_contains()` only exists in WordPress 5.9 or later.
Follow-up to [55988], [57275].
Props poena.
See #60241.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60241#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list