[wp-trac] [WordPress Trac] #51857: Add rollback for failed plugin/theme updates

WordPress Trac noreply at wordpress.org
Fri Aug 20 23:03:02 UTC 2021


#51857: Add rollback for failed plugin/theme updates
----------------------------------------------+-----------------------
 Reporter:  pbiron                            |       Owner:  pbiron
     Type:  enhancement                       |      Status:  reopened
 Priority:  normal                            |   Milestone:  5.9
Component:  Upgrade/Install                   |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  early has-patch has-testing-info  |     Focuses:
----------------------------------------------+-----------------------

Comment (by Boniu91):

 @mai21 @afragen I think you can simulate the available space by changing
 the value of `$available_space` to expected value in bytes here:
 https://github.com/WordPress/wordpress-
 develop/blob/429ed3a8fe56d470ae5a8f4bdd3e46ce4046cf03/src/wp-
 admin/includes/class-wp-site-health.php#L1889

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51857#comment:106>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list