Skip to content

Preserve port number #83

@johansolve

Description

@johansolve

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions