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

WordPress Trac noreply at wordpress.org
Thu Jan 21 20:24:54 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 hellofromTonya):

 From core scrub today, @afragen noted that he'll open a new ticket to
 address the `copy_dir` changes Dion mentioned above.

 For this ticket though, just want to make sure we all understand. Replying
 to [comment:56 dd32]:
 > An alternative option would be to flip this around, and not add a
 rollback functionality into it, but rather install into a temporary
 directory first, and then remove existing/rename new into place.

 Hey @dd32 > Is the proposed implementation how it currently works>

 If yes, then nothing else needs to be done in this ticket.

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


More information about the wp-trac mailing list