[wp-trac] [WordPress Trac] #6699: get_temp_dir() should be more
flexible
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 12 16:32:41 GMT 2008
#6699: get_temp_dir() should be more flexible
----------------------------+-----------------------------------------------
Reporter: RoyalKnight | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Administration | Version: 2.5
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Currently this function returns "/tmp/" even if there's another way to get
the correct temp-path. So you should extend this function with
"ini_get('upload_tmp_dir')" before you return "/tmp/" as the last way out.
Of course it's possible to set "WP_TEMP_DIR" in config-file, but why don't
do it the automatic way?
--
Ticket URL: <http://trac.wordpress.org/ticket/6699>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list