Automatic Upgrades with WordPress 2.7

WordPress has this nice feature where you can automatically upgrade your plugins from within the Administration area. Unfortunately, this feature was broken on a site I recently upgraded. I found this cool work around. Simply put the following two lines in the wp-config.php file:

//Automatic Upgrade fix – http://wordpress.org/support/topic/238738
putenv(‘TMPDIR=’ . ini_get(‘upload_tmp_dir’));

This entry was posted in Code / Computers. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>