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

WordPress Trac noreply at wordpress.org
Thu Sep 30 01:33:57 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-testing-info needs-patch   |     Focuses:
  needs-unit-tests                               |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 That's correct, no errors are logged during the update process. Until
 reactivation, success is reported for each step for the plugins that
 fatal/are incomplete.

 By slug:

 * `woocommerce`, `gutenberg`, `wpforms-lite`: fatal errors logged upon
 reactivation attempt only. Source is the plugin's `require` of files.
 * `akisment`: warnings logged upon reactivation and subsequent page loads
 (due to the use of `include` rather than `require`, the update is
 incomplete)
 * `jetpack`, `wordpress-seo`, `mailpoet`: plugin's error handling
 gracefully recovers, showing admin notice

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


More information about the wp-trac mailing list