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

WordPress Trac noreply at wordpress.org
Thu Sep 30 01:16:27 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 galbaras):

 @peterwilsoncc I'm guessing no errors shown anywhere in your testing. I
 haven't looked closely at the code, but this possibly points to a need for
 more detailed capture of information, at least when there are failures.

 I see that WP_Error objects are being created by the new functions and
 returned to their calling functions, but I can't see that the errors are
 output anywhere. Am I missing something?

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


More information about the wp-trac mailing list