[wp-trac] [WordPress Trac] #14963: Plugin update shouldn't delete package from local filesystem

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 3 12:46:05 UTC 2011


#14963: Plugin update shouldn't delete package from local filesystem
---------------------------------+-----------------------------
 Reporter:  joelhardi            |       Owner:  dd32
     Type:  enhancement          |      Status:  accepted
 Priority:  normal               |   Milestone:  Future Release
Component:  Upgrade/Install      |     Version:  3.1
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.2-early  |
---------------------------------+-----------------------------

Comment (by dd32):

 This accepts a local package for the purposes of the zip uploader, the
 local path of the uploaded file is passed in, instead of the url.

 Patch looks sane (well, i simplified it to `$delete_package = ($download
 != $package);`) the only thing that needs to be checked, is that the
 temporary Zip file will be deleted by PHP after the request is completed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14963#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list