WordPress solicitando credenciais de FTP no localhost

Add this to wp-config.php

define('FS_METHOD', 'direct');
TechieSakar