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

WordPress Trac noreply at wordpress.org
Fri Aug 20 19:01:35 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 afragen):

 Tested [https://github.com/WordPress/wordpress-develop/pull/1492 PR
 #1492].

 I was unable to test the server memory conditions.

 If both the `wp-content/upgrade/temp-backup/plugins` and `wp-
 content/upgrade/temp-backup/themes` are both un-writeable, only the
 plugins folder is noted to be un-writeable in Site Health.

 If either is un-writeable the correct notice is displayed.

 If `wp-content/upgrade/temp-backups` is un-writeable there is no notice in
 Site Health.

 Updating and restoring a failed backup works great!

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


More information about the wp-trac mailing list