ignoring, hidding mu plugins when wp-cli is run

I’m the author of Mobile Smart Pro. I’m in the midst of testing WP-CLI with Mobile Smart Pro, and on line 27 of /wp-content/mu-plugins/ you should add the following test:

if (!$mobile_smart) return $pluginList;

So the section would look like:

`function disablePlugins($pluginList) {

    if (is_admin()) return $pluginList; // only deactivate on front end

    global $mobile_smart;

    if (!$mobile_smart) return $pluginList;

    // get options
    $options = $mobile_smart->getAdminOptions();

I’ll be releasing an update for this today, but wanted to respond on here for you too.

Dan