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

WordPress Trac noreply at wordpress.org
Thu Sep 16 17:34:15 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 desrosj):

 Just wanted to report that this has been running without issue on my site
 since committing.

 One thing I did notice is that the `temp-backup` directory remains in
 `upgrade` after an update completes. When a Core auto-update happens, the
 `upgrades` directory is completely emptied. Should the plugin/theme
 process just clean up the `temp-backup` directory?

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


More information about the wp-trac mailing list