Changes between Initial Version and Version 1 of Ticket #53323, comment 67
- Timestamp:
- 05/28/2025 01:53:45 AM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53323, comment 67
initial v1 5 5 It 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 🤷♂️) 6 6 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]) 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]). 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. 8 8 9 9 And with this finally accomplished, I would suggest that this patch is ready to go.