
WordPress prompts for FTP credentials when trying to update plugins and themes
There is a simple fix for this annoying prompt and I will cut to the short of it. FTP to your WordPress installation directory and copy the wp-config.php to your local machine. Open the file in your favorite editor and paste the following code right into the file near the top or bottom it doesn’t matter which.