[wp-trac] [WordPress Trac] #25153: Temporary directory (for installs, updates, etc.) is hard-coded instead of configurable

WordPress Trac noreply at wordpress.org
Mon Aug 26 21:12:08 UTC 2013


#25153: Temporary directory (for installs, updates, etc.) is hard-coded instead of
configurable
-----------------------------+------------------------------
 Reporter:  Synetech         |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  3.6
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by nacin):

 get_temp_dir() is used for streaming files or working with images, but
 WordPress has always used wp-content/upgrade. They were introduced around
 the same time, in [7058] and [6779].

 dd32 would be able to speak to this, but if I had to guess, this has to do
 with file permissions, and that unzipping to wp-content/upgrade (a folder
 we create) ensures the files get the right owner?

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


More information about the wp-trac mailing list