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

WordPress Trac noreply at wordpress.org
Fri Apr 28 08:29:56 UTC 2023


#58206: Replace usage of strpos with str_contains
-------------------------------------+-------------------------------------
 Reporter:  spacedmonkey             |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.3
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  performance, coding-
  patch                              |  standards
-------------------------------------+-------------------------------------

Comment (by spacedmonkey):

 Replying to [comment:7 Soean]:
 > I created a pull request for `str_contains`, I will create new tickets
 for `str_starts_with` and `str_ends_with`.

 There is already a ticket for str_starts_with. #58012

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


More information about the wp-trac mailing list