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

WordPress Trac noreply at wordpress.org
Thu Dec 3 02:32:27 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:                   |     Focuses:
-----------------------------+-----------------------
Changes (by afragen):

 * Attachment "51857.diff" added.

 In `copy_dir()` check `$wp_filesystem->dirlist()` and return `WP_Error` if
 false

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


More information about the wp-trac mailing list