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

WordPress Trac noreply at wordpress.org
Fri Aug 18 23:23:48 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:                |     Focuses:
--------------------------+---------------------
Changes (by azaozz):

 * owner:  (none) => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56417" 56417]:
 {{{
 #!CommitTicketReference repository="" revision="56417"
 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.

 Porps: frankit.
 Fixes: #59145.
 }}}

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


More information about the wp-trac mailing list