Force Direct Update

Insert this code into wp-config.php to force direct update for WordPress or plugins.

This way, you don’t have to enter your FTP user/pass every time you want to update.

Code Snippet:

define('FS_METHOD','direct');

Posted in Pure hacks