[wp-trac] [WordPress Trac] #58220: Replace usage of substr with str_starts_with and str_ends_with

WordPress Trac noreply at wordpress.org
Tue May 2 20:04:44 UTC 2023


#58220: Replace usage of substr with str_starts_with and str_ends_with
-----------------------------------+---------------------
 Reporter:  Soean                  |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  6.3
Component:  General                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+---------------------
Changes (by azaozz):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 This seems perhaps premature. See
 https://core.trac.wordpress.org/ticket/58206#comment:12 and
 https://core.trac.wordpress.org/ticket/58012#comment:24.

 Also, would be good to get some performance testing on PHP 7.4.

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


More information about the wp-trac mailing list