Nice, but missing Multi-Site feature
-
Nice plugin, rating with 5 star, but please, add support for multi-site. so, when installed on MS, menu should be in Network.
the problem is that in your
settings.phpfile you have:add_submenu_page( 'options-general.php'instead you should have:
add_submenu_page( ( is_multisite() ? 'settings.php' : 'options-general.php' )and then you should have 1 specific function in your class, like this:
private function get_option($key){ return ( is_multisite() ? get_site_option($key) : get_option($key) ) ; }and use that, instead of only getting option with
get_optionas for MS sites the plugin doesnt work and doesnt show the protection. (same withupdate_option,add_optionordelete_option). and lastly, test it to ensure that it works on MS sites, before updating without testing.
thanks, waiting your update.
The topic ‘Nice, but missing Multi-Site feature’ is closed to new replies.