• Resolved Emil

    (@qu1em)


    Hi,

    Thank you for this awesome plugin! Would you mind making a small change to allow compatibility with Multisite? This way of checking if WC is activated doesn’t work with Multisite if WC is activated network wide:

    if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) )

    I’ve been searching for the best way to check if a plugin is active network wide myself and I think this is the best solution:

    include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    if ( is_plugin_active( 'woocommerce/woocommerce.php' ) )

    https://wordpress.org/plugins/table-rate-shipping-for-woocommerce/

Viewing 1 replies (of 1 total)
  • Plugin Author mangohour

    (@mangohour)

    Hi Emil,

    Thanks for bringing this to my attention and especially for looking into solutions. It is appreciated!

    I will work on including multisite support in the next release.

    – John

Viewing 1 replies (of 1 total)

The topic ‘Add support for multisite’ is closed to new replies.