Support » Plugin: Jetpack CRM - Clients, Invoices, Leads, & Billing for WordPress » Disable Front-End also breaks WP CLI

  • Resolved Chris Hardie

    (@chrishardie)


    If the “Disable Front-End” setting is enabled, zeroBSCRM_stopFrontEnd() is called without any regard for whether a WP CLI command is currently being run. In my testing, the redirect that function issues effectively breaks WP CLI commands from core WordPress and any plugin/theme commands.

    A check for defined( 'WP_CLI' ) should address this, maybe on line 1511 of includes/ZeroBSCRM.Core.php.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Front-End also breaks WP CLI’ is closed to new replies.