[wp-trac] [WordPress Trac] #59145: Revert the last instance of str_starts_with() in update-core.php

WordPress Trac noreply at wordpress.org
Tue Aug 22 12:45:27 UTC 2023


#59145: Revert the last instance of str_starts_with() in update-core.php
-------------------------------------------------+-------------------------
 Reporter:  azaozz                               |       Owner:  azaozz
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3.1
Component:  General                              |     Version:  6.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch fixed-major dev-reviewed   |     Focuses:
  commit                                         |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56425" 56425]:
 {{{
 #!CommitTicketReference repository="" revision="56425"
 General: Revert the last use of `str_starts_with()` in `update-core.php`.

 Fixes updating WordPress from 5.7 and earlier versions. When doing the
 update this file runs first in the old version where the polifills may not
 be available.

 Props frankit, azaozz.
 Reviewed by audrasjb.
 Merges [56417] to the 6.3 branch.
 Fixes #59145.
 }}}

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


More information about the wp-trac mailing list