Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #61782, comment 19


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61782, comment 19

    initial v1  
    22> @azaozz The upgrade routine returns the new version but I am not sure if it assigned to the global on the current request or not. If not, then you are correct that caching the value would match the current behaviour.
    33
    4 Yea, seems the two calls to `wp_get_wp_version()` that are in `update-core.php` would need to be removed as that file cannot contain functions that don't exist in the (old) version that is being updated, #62165. That seems to be the only place that may be "sensitive" about old vs. new version, and seems it's best handled by including the appropriate version.php file.
     4Yea, seems the two calls to `wp_get_wp_version()` that are in `update-core.php` would need to be removed as that file cannot contain functions that don't exist in the (old) version that is being updated, #62165. That seems to be the only place that may be "sensitive" about old vs. new version, and looks like it's best handled by including the appropriate version.php file.
    55
    6 Not really sure if anything else might be affected, neems quite unlikely. Nevertheless seems that maintaining the old behavior would be preferable just in case.
     6Not really sure if anything else might be affected, seems quite unlikely. Nevertheless seems that maintaining the old behavior would be preferable just in case.