can you use 'localhost' as the domain hostname?
armyofda12mnkeys opened this issue · comments
armyofda12mnkeys commented
Quick question... Can you use 'localhost' for the $hostname check, or you must setup vhosts/hosts file setup where there is a name like 'mywebsite.localhost' like your example.
Would be convenient to cover developers that don't setup a specific vhost for the Wordpress install/app.
Simon R Jones commented
yes, it is fine to use localhost.
I've added some clarity to the docs in the wp-config.env.php file, see c0c539f