[wp-trac] [WordPress Trac] #3920: Use strpos() instead of strstr() where appropriate

WordPress Trac noreply at wordpress.org
Thu Feb 2 22:08:48 UTC 2023


#3920: Use strpos() instead of strstr() where appropriate
--------------------------------------+---------------------
 Reporter:  rob1n                     |       Owner:  rob1n
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  2.2
Component:  Optimization              |     Version:  2.1.2
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+---------------------
Changes (by prbot):

 * keywords:  has-patch => has-patch has-unit-tests


Comment:

 ''This ticket was mentioned in [https://github.com/WordPress/wordpress-
 develop/pull/3971 PR #3971] on [https://github.com/WordPress/wordpress-
 develop/ WordPress/wordpress-develop] by
 [https://profiles.wordpress.org/flixos90/ @flixos90].''
 **Not intended for commit.**

 This PR is solely for QA and performance testing of #3920. It is based on
 the same code, but also includes initial usage of that new API, which were
 taken from #3914 and https://github.com/dmsnell/wordpress-develop/pull/1.

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


More information about the wp-trac mailing list