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)
  • Plugin Author WebFactory

    (@webfactory)

    Thanks! Will include it in the next release.
    Love how one line of code can make such a difference 🙂

    any news for this patch?

    Plugin Author WebFactory

    (@webfactory)

    Hi, we screwed up the last release. Didn’t merge in various patches 🙁 I’ve double-checked the code now, CLI thing is in there. Will do my best to push it out tomorrow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.