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

WordPress Trac noreply at wordpress.org
Wed Jan 6 22:51:05 UTC 2021


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

Comment (by TimothyBlynJacobs):

 > My impression of the conclusion is that if there is a server resource
 issue that occurs a result of the zip creation process then a simple page
 reload brings the site back to it's previous state showing a plugin/theme
 update being available.

 I think this is accurate. But the failure happening _during_ the zip
 process specifically is not my big worry, but that it consumes resources
 so that when the file transfer happens, the site no longer has enough
 resources to complete the upgrade. Which is how you can end up with a
 fatal erroring site.

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


More information about the wp-trac mailing list