WordPress should not depend on access to /tmp/
|Reported by:||hangy||Owned by:||ryan|
In some restricted hosting environments, the user might not be able to write to /tmp/.
As wp-admin/includes/file.php uses that directory directly in download_url() and get_filesystem_method(), some functions like for example automatic updating of plugins do not work under those circumstances.
Alternatives could be to use a temporary directory under wp-content as default or have an option in wp-config.php to change this to another directory.
Change History (12)
comment:1 @hansengel — 8 years ago
- Keywords has-patch added
- Owner changed from anonymous to hansengel
- Status changed from new to assigned
- Owner changed from hansengel to ryan
- Status changed from assigned to new