[wp-trac] [WordPress Trac] #50612: Cancelling a plugin update from an uploaded .zip file leaves the plugin .zip in the uploads directory

WordPress Trac noreply at wordpress.org
Fri Jul 10 06:07:02 UTC 2020


#50612: Cancelling a plugin update from an uploaded .zip file leaves the plugin
.zip in the uploads directory
--------------------------------------------+------------------------
 Reporter:  psykro                          |       Owner:  whyisjake
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:  5.5
Component:  Upgrade/Install                 |     Version:  trunk
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  has-patch needs-testing commit  |     Focuses:
--------------------------------------------+------------------------
Changes (by whyisjake):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48417" 48417]:
 {{{
 #!CommitTicketReference repository="" revision="48417"
 Upgrade/Install: Ensure cleanup after canceled update.

 Ensure that the uploaded zip is hidden from the media library, where a
 task will remove failed installs after two hours.

 Fixes #50612.

 Props psykro, desrosj, joyously, azaozz, noisysocks, whyisjake.
 }}}

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


More information about the wp-trac mailing list