[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
Tue May 29 18:21:19 UTC 2012


#20778: get_temp_dir should use the system tmp directory as first choice
------------------------------------+------------------------------
 Reporter:  simonwheatley           |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Filesystem              |     Version:  3.4
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by scribu):

 Agreed.

 If WP_TEMP_DIR isn't defined, the first fallback should be
 sys_get_temp_dir(), not WP_CONTENT.

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


More information about the wp-trac mailing list