[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
Fri Sep 28 16:32:03 UTC 2012


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

 * keywords:  has-patch commit => has-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Not sure if we want to fix it, but through the change a warning appears on
 updates.

 {{{
 Warning: is_dir() [function.is-dir]: open_basedir restriction in effect.
 File(/tmp) is not within the allowed path(s): (
 /var/www/web39/html/:
 /var/www/web39/phptmp/:
 /var/www/web39/files/:
 /var/www/web39/atd/
 ) in /var/www/web39/html/wp-includes/functions.php on line 1394
 }}}

 See #12866 for background. Patch uses `@is_dir`.

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


More information about the wp-trac mailing list