Why should you care? If you’re running WordPress on a Windows server and you upgrade to WordPress 3.5, you will find that you will not be able to update themes or plugins, or install any new plugins. Instead, you will get the following error… “Download failed. Destination directory for file streaming does not exist or is not writable.”
The only way to fix this bug it is to manually modify core WordPress files. What is worse is that anyone who has already upgraded to 3.5 will not be able to upgrade their version of WordPress that will have the fix in it due to this same bug.
I have been told by one of the WordPress developers that the fix is indeed in an upcoming patch, version 3.5.1. As mentioned however, if you have already upgraded to WordPress 3.5, you will not be able to use the auto upgrade option in WordPress and will have to do a manual upgrade via FTP or apply the fix yourself, also via FTP.
WordPress 3.5 Manual Fix
Below is the manual fix you can apply to be able to get your WordPress 3.5 install working correctly, there are two options that should work.
1) In the file wp-config.php, add the following line before “That’s all, stop editing”
define( 'WP_TEMP_DIR', ABSPATH . 'wp-content/' );
2) In the file /wp-includes/class-http.php comment out lines 144 and 145, which look like the following:
if ( ! is_writable( dirname( $r['filename'] ) ) ) return new WP_Error( 'http_request_failed', __( 'Destination directory for file streaming does not exist or is not writable.' ) );
After applying one of the above fixes you should be able to add/upgrade your plugins and upgrade your themes, and will allow you to use the auto upgrade feature when WordPress version 3.5.1 is released.
If you would like to speak to the Satori team about developing, hosting or managing your WordPress website or blog, please feel free to contact us. We would be happy to serve you.