[wp-trac] [WordPress Trac] #34562: `wp_tempnam()` can return a path that already exists

WordPress Trac noreply at wordpress.org
Sun Dec 6 16:36:37 UTC 2015


#34562: `wp_tempnam()` can return a path that already exists
----------------------------+---------------------
 Reporter:  dd32            |       Owner:  dd32
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.4
Component:  Filesystem API  |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------
Changes (by dd32):

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


Comment:

 Scratch that. Turns out `wp_tempnam()` IS used during the zip download, so
 `$package` at this point is something like `wordpress-latest-6CHK9M`
 already.

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


More information about the wp-trac mailing list