[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 05:03:01 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 dd32):

 In [22008]:
 {{{
 #!CommitTicketReference repository="" revision="22008"
 Rearrange the order that we check for temporary directories in
 get_temp_dir(). This change causes us to use System temporary directories
 in preference to WP_CONTENT_DIR, for better windows compatibility, we use
 win_is_writable() as well. Props simonwheatley and kurtpayne for initial
 patches, See #20778
 }}}

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


More information about the wp-trac mailing list