[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
Mon Sep 10 18:51:56 UTC 2012


#20778: get_temp_dir should use the system tmp directory as first choice
------------------------------------+------------------
 Reporter:  simonwheatley           |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  3.5
Component:  Filesystem              |     Version:  2.5
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------
Changes (by kurtpayne):

 * cc: kurtpayne (added)


Comment:

 Patch updated with:

  * Put WP_CONTENT_DIR last
  * Use win_is_writable when host system is windows
  * Don't save sys_get_temp_dir to static $temp var until it passes the
 is_writable check

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


More information about the wp-trac mailing list