Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    That constant is supposed to have been defined from 2010. But at any case, sure… do you figure the code below fixes your problem? If so, I’ll update the SDK and include it in the next version of BC.

        $multisite_enabled = false;
    
        if ( function_exists( 'is_multisite' ) )
        {
            $multisite_enabled = is_multisite();
        }
        else
        {
            if ( defined( 'MULTISITE' ) )
                $multisite_enabled = MULTISITE;
        }
    
        $this->is_network = $multisite_enabled;
        $this->is_multisite = $multisite_enabled;
    Thread Starter Boone Gorges

    (@boonebgorges)

    That constant is supposed to have been defined from 2010.

    The WPMS installation I’m working with was started around 2009 or 2010, and was a conversion from WordPress Multi-User. The introduction of the MULTISITE constant (I think this came in the MU merge in 3.0) required some migration and code-level changes that not every site undertook.

    Your logic looks good to me. Thanks very much for considering.

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