Open smarques opened 5 years ago
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 );
Hi @smarques
Thanks for reaching out. I will surely make a fix in the next release.
Thanks, Sami
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 );