Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wp-CLI #1

Open
smarques opened this issue Mar 6, 2019 · 1 comment
Open

Wp-CLI #1

smarques opened this issue Mar 6, 2019 · 1 comment
Assignees
Labels

Comments

@smarques
Copy link

smarques commented Mar 6, 2019

When I activate the plugin wp-cli gets also blocked. I think CLI has its own validation system and should not be affected.
Maybe we could use the WP_CLI variable to check if we are in cli mode?

see https://github.com/wp-cli/wp-cli/blob/71626710db27d5202e4df063c5b664fd5eb6615c/php/wp-cli.php#L3-6

-> define( 'WP_CLI', true );

@samiahmedsiddiqui
Copy link
Owner

Hi @smarques

Thanks for reaching out. I will surely make a fix in the next release.

Thanks,
Sami

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants