Wordpress - Prompted for FTP details even with FS_DIRECT set to true
Because I had cut and pasted define(’FS_METHOD’,’direct’);
from the web, the incorrect quote characters were pasted into the file.
should be define('FS_METHOD', 'direct');
The incorrect quote character also changed the encoding of the file somehow. If anyone has deeper knowledge of this issue please let me know in the comments.