[wp-trac] [WordPress Trac] #58206: Replace usage of strpos with str_contains

WordPress Trac noreply at wordpress.org
Fri Jun 23 20:04:45 UTC 2023


#58206: Replace usage of strpos with str_contains
-------------------------------------+-------------------------------------
 Reporter:  spacedmonkey             |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  6.3
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  performance, coding-
  patch 2nd-opinion commit           |  standards
-------------------------------------+-------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"56007" 56007]:
 {{{
 #!CommitTicketReference repository="" revision="56007"
 Bootstrap/Load: Require `wp-includes/compat.php` earlier in `wp-
 settings.php`.

 This allows for using polyfill functions in more files, including the
 `advanced-cache.php` drop-in.

 Follow-up to [6108], [46183], [55988], [55990], [56006].

 See #58206.
 }}}

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


More information about the wp-trac mailing list