WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #47699, comment 17


Ignore:
Timestamp:
09/24/2019 03:06:03 AM (12 months ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47699, comment 17

    v1 v2  
    55> I think a check in the core upgrader for json functions and a rollback if they are not available could be a warranted addition.
    66
    7 Thankfully the upgrade process can be blocked, and so no rollback functionality is required, a change to `wp-admin/includes/update-core.php` like the following should do the job: https://github.com/dd32/wordpress-develop/commit/132e7abab5bfeb81712a51eb91babbdef600216e
     7Thankfully the upgrade process can be blocked, and so no rollback functionality is required, a change to `wp-admin/includes/update-core.php` like the following should do the job: https://github.com/dd32/wordpress-develop/commit/db7e0e68ead2b58a2fb651b276a3f54380473d5e