• Resolved max_Q

    (@max_q)


    Hi,
    On Multisite, network activated plugins are listed it the sitemeta table under “active_sitewide_plugins” and that’s where my wp-geo plugin is. Your plugin only seems to look in the options table under “active _plugins”, so it wasn’t finding wp-geo’s settings. I added around line 500:

    if ( is_multisite() ){
        $active_plugins = (array) array_keys( get_site_option( 'active_sitewide_plugins', array() ) );
        $active_plugins = array_merge( $active_plugins , get_option('active_plugins') );
    }
    else {
        $active_plugins = (array) get_option( 'active_plugins', array() );
    }

    Seems to work. Regards.

Viewing 1 replies (of 1 total)
  • fr59

    (@fr59)

    For some strange reasons, I can’t use my original user name ‘FranceImage’ anymore !?

    Thanks for your contribution

    I have not spent much time on multisite support yet. I just saw it was kind of working.

    I’ll use your hint in the next level.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: FranceImage location filter] Multisite issue’ is closed to new replies.