[wp-trac] [WordPress Trac] #62165: New wp_get_wp_version() might not be available during update

WordPress Trac noreply at wordpress.org
Sat Oct 5 22:49:59 UTC 2024


#62165: New wp_get_wp_version() might not be available during update
-----------------------------+---------------------
 Reporter:  djennez          |       Owner:  azaozz
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  6.7
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  critical         |  Resolution:  fixed
 Keywords:                   |     Focuses:
-----------------------------+---------------------
Changes (by azaozz):

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


Comment:

 In [changeset:"59180" 59180]:
 {{{
 #!CommitTicketReference repository="" revision="59180"
 General: Do not use the new `wp_get_wp_version()` in `update-core.php` and
 `class-core-upgrader.php`.

 All functions that are used there must be present in both the previous
 version being upgraded from, and the later version that's being installed
 (e.g. when rolling back Core) as these files are used in both.

 Props djennez, SergeyBiryukov, jorbin, peterwilsoncc, azaozz.
 Fixes #62165.
 See 61627.
 }}}

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


More information about the wp-trac mailing list