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

WordPress Trac noreply at wordpress.org
Thu Jan 21 02:12:25 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 dd32):

 Replying to [comment:56 dd32]:
 > I guess that's kind of how it works now, except the temporary install
 directory is wp-content/upgrade/somethinghere. It's the copy from there to
 the plugins directory that sometimes fails

 I think this might have originally been a copy, rather than a move, as
 moving items cross-partition isn't possible. Sometimes each site would
 have it's own `wp-content` directory, but the `wp-content/plugins` or
 themes folder was actually a symlink to another disk or some such.

 I could also be mis-remembering it, and it was purely bad planning and
 development skills that I wrote it like this :) If I was doing it again,
 I'd do it how I've outlined in [comment:53 comment 53 above]

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


More information about the wp-trac mailing list