[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 17:48:43 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 | Keywords: has-patch dev-feedback
---------------------------+------------------------------------
I believe WordPress should use the system tmp directory as first
preference temp directory in ```get_temp_dir``` if ```WP_TEMP_DIR```, is
not defined. It just seems… odd… to use ```wp-content``` in preference to
the proper, managed, temp directory.
Some historical context on introducing ```get_temp_dir```: #5984
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20778>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list