How can the temporary update directory be changed?
When a plugin, theme, or even WordPress itself are updated, it downloads
and saves the files (.zip, extracted files, etc.) to wp-content\upgrade.
This is not always desirable.
For example, I run a portable version of WordPress from a flash-drive, so
I don't want it using the flash-drive for temp files. I would prefer it to
put temporary files in the system's temporary directory.
I already changed the temporary (upload) directory in php.ini as so:
upload_tmp_dir = ${Temp}
This works for regular PHP scripts, and while I've seen a couple of pages
which seem to indicate that WordPress (3.0+) should use the default
(upload? download?) temporary directory, it is ignoring it and still
putting the temporary files in wp-content\upgrade.
How can this be changed?
No comments:
Post a Comment