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

WordPress Trac noreply at wordpress.org
Fri Jun 23 19:52:46 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:"56006" 56006]:
 {{{
 #!CommitTicketReference repository="" revision="56006"
 Bootstrap/Load: Require `wp-includes/compat.php` in `wp-load.php`.

 This allows for using polyfill functions if the site is not installed yet.

 Follow-up to [28978], [55988].

 Props joedolson, dd32.
 See #58206.
 }}}

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


More information about the wp-trac mailing list