This tip I found here is interesting; it shows a solution for when we need to update our plugins, themes, or the WordPress database itself and it asks for a username and password.
This can be useful for security reasons, but if we want to avoid it, all we have to do is add the following lines to the wp-config.php file:
define ('FS_METHOD', 'direct'); define ('FS_CHMOD_DIR', 0777); define ('FS_CHMOD_FILE', 0777);
And that's all 