Support » Plugin: Minimal Coming Soon & Maintenance Mode » [Patch] Support for wo-cli

  • I am using that plugin on a website but wp cli is blocked when the maintenance is enabled.
    So there is a little patch to add the support for wp-cli:

    
    if ( defined( 'WP_CLI' ) && WP_CLI ) {
        return;
    }
    

    On line 40.
    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Patch] Support for wo-cli’ is closed to new replies.