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

WordPress Trac noreply at wordpress.org
Fri Oct 4 19:16:02 UTC 2024


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

 * severity:  normal => critical


Comment:

 I've tested and confirmed this. Upgrading the severity since I think this
 should block beta 2 as folks won't be able to upgrade to beta 2 without
 already being on [58813] or later.

 As for the fix, I think we should do a `require ABSPATH . WPINC.
 '/version.php';` in the two places in `wp-admin/includes/update-core.php`
 that were modified in [59159].

 cc/ @peterwilsoncc, @hellofromtonya @davidbaumwald.

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


More information about the wp-trac mailing list