[wp-trac] [WordPress Trac] #20778: get_temp_dir should use the system tmp directory as first choice

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 26 03:46:19 UTC 2012


#20778: get_temp_dir should use the system tmp directory as first choice
------------------------------+-----------------------
 Reporter:  simonwheatley     |       Owner:  dd32
     Type:  enhancement       |      Status:  accepted
 Priority:  normal            |   Milestone:  3.5
Component:  Filesystem        |     Version:  2.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------

Comment (by knutsp):

 Replying to [comment:16 dd32]:
 > That sounds like a separate bug that should be reported if you can
 reliably duplicate it, the uploaded files should always be cleaned up
 (Only case I can think of right now would be a fatal or similar during the
 installation process).

 I think it happens when there is a request timeout. The file, or part of
 the file, is uploaded, but then the process aborts. If this file is just
 left in a temp dir, then there is no fixable WordPress bug involved.

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


More information about the wp-trac mailing list