[wp-trac] [WordPress Trac] #60241: Revert usage of str_contains() in older bundled themes

WordPress Trac noreply at wordpress.org
Tue Jan 16 16:10:05 UTC 2024


#60241: Revert usage of str_contains() in older bundled themes
----------------------------+-----------------------------
 Reporter:  SergeyBiryukov  |       Owner:  SergeyBiryukov
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.5
Component:  Bundled Theme   |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+-----------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57293" 57293]:
 {{{
 #!CommitTicketReference repository="" revision="57293"
 Twenty Twenty-One: Revert usage of str_contains() in theme files.

 The theme supports WordPress 5.3 or later, while the polyfill for
 str_contains() only exists in WordPress 5.9 or later.

 Follow-up to [55988], [57275], [57276].

 Merges [57277] to the 6.4 branch.

 Props poena, SergeyBiryukov.
 Fixes #60241.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60241#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list