Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53323, comment 67


Ignore:
Timestamp:
05/28/2025 01:53:45 AM (6 months ago)
Author:
SirLouen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53323, comment 67

    initial v1  
    55It appears that placing this code in that file proposed will only apply when updating via the Update button in `/wp-admin/update-core.php` but not via `wp-cli core update` because it happens that CLI is taking another route for upgrading (and maybe automated upgrades also take another route, who knows 🤷‍♂️)
    66
    7 I'm not an expert in Core Upgrades area but from what I've been reviewing a possible solution that is working for me is adding the code in `src/wp-admin/includes/upgrade.php` ([https://core.trac.wordpress.org/attachment/ticket/53323/53323-upgrade-activation.diff attached patch here])
     7I'm not an expert in Core Upgrades area but from what I've been reviewing a possible solution that is working for me is adding the code in `src/wp-admin/includes/upgrade.php` ([https://core.trac.wordpress.org/attachment/ticket/53323/53323-upgrade-activation.diff attached patch here]). Now it works with CLI, with my hacked core upgrading system, and probably, with automated updates also, because it seems that all upgrading skins use this `upgrade.php` file to do their diligence.
    88
    99And with this finally accomplished, I would suggest that this patch is ready to go.