[wp-trac] [WordPress Trac] #51857: Add rollback for failed plugin/theme updates
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Dec 15 07:35:11 UTC 2020
    
    
  
#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 poena):
 During today's scrub,
 @afragen suggest that:
 ''Easiest way to test is install patch, set a breakpoint in copy_dir()
 after $dirlist assignment and set $dirlist = false; This will return
 WP_Error and trigger the rollback during a plugin/theme update.''
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51857#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list