[Plugin: FranceImage location filter] Multisite issue
-
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)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: FranceImage location filter] Multisite issue’ is closed to new replies.