Skip to content

Do not redirect when activating plugin via WP-CLI #49

Open
@swissspidy

Description

@swissspidy

We‘d like to run WP-CLI tests with SQLite using this plugin. I noticed this issue during one of the test runs, as the attempted redirect can cause warnings in CLI.
I suggest not doing a redirect if the WP_CLI constant is defined and true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions