Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51857, comment 101


Ignore:
Timestamp:
08/20/2021 03:00:43 PM (4 years ago)
Author:
Boniu91
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51857, comment 101

    initial v1  
    11Copying testing instructions from the PR:
    22
    3 * If the `wp-content/temp-backup` folder is not writable, there should be an error in the site-health screen.
     3* If the `wp-content/upgrade/temp-backup` folder is not writable, there should be an error in the site-health screen.
    44* If the server has less than 20MB available, there should be an error in the site-health screen that updates may fail. If the server has less than 100MB, it should be a notice that disk space is running low.
    55* When updating a plugin, you should be able to see the old plugin in the `wp-content/upgrade/temp-backup/plugins/PLUGINNAME` folder. The same should apply for themes. Since updates sometimes run fast and we may miss the folder creation during testing, you can add `return true;` as the 1st line inside the `WP_Upgrader->delete_temp_backup()` method. This will return early and skip deleting the backup on update-success.