Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #62165, comment 4


Ignore:
Timestamp:
10/04/2024 08:26:29 PM (20 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62165, comment 4

    initial v1  
    22> 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].
    33
    4 Right, Iif I remember correctly when WP is being updated the new `update-core.php` runs in the old  version so it cannot contain calls to newly introduced functions. Removing the two calls to `wp_get_wp_version()` would fix this.
     4Right, if I remember correctly when WP is being updated the new `update-core.php` runs in the old  version so it cannot contain calls to newly introduced functions. Removing the two calls to `wp_get_wp_version()` would fix this.