Is there any way to preserve the port the current site is running on?
This works:
wp login as 1 --url=http://localhost:8080
But if there is a way to detect what port a local WP is running on, it would be convenient for the lazy
Currently the magic link becomes like http://localhost/xxxxxx/yyyyyy
If not possible, may I suggest a new option for --port?
wp login as 1 --port=8080
Is there any way to preserve the port the current site is running on?
This works:
wp login as 1 --url=http://localhost:8080
But if there is a way to detect what port a local WP is running on, it would be convenient for the lazy
Currently the magic link becomes like http://localhost/xxxxxx/yyyyyy
If not possible, may I suggest a new option for --port?
wp login as 1 --port=8080