• 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.php file 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_option as for MS sites the plugin doesnt work and doesnt show the protection. (same with update_option, add_option or delete_option). and lastly, test it to ensure that it works on MS sites, before updating without testing.
    thanks, waiting your update.

    • This topic was modified 7 years, 5 months ago by tazotodua.
    • This topic was modified 7 years, 5 months ago by tazotodua.
    • This topic was modified 7 years, 5 months ago by tazotodua.
    • This topic was modified 7 years, 5 months ago by tazotodua.

The topic ‘Nice, but missing Multi-Site feature’ is closed to new replies.