Plugin Directory

Changeset 1902619


Ignore:
Timestamp:
07/02/2018 12:40:02 PM (8 years ago)
Author:
laugei
Message:

Add multisite support

Location:
woo-variations-select2/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • woo-variations-select2/trunk/readme.txt

    r1859624 r1902619  
    33Tags: woocommerce, variations, select2
    44Requires at least: 4.6
    5 Tested up to: 4.9.5
    6 Stable tag: 1.0.2
     5Tested up to: 4.9.6
     6Stable tag: 1.1
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2424
    2525== Changelog ==
     26### 1.1
     27
     28* Added support for multisite.
     29
    2630### 1.0.2
    2731
  • woo-variations-select2/trunk/woo-variations-select2.php

    r1859624 r1902619  
    44Description: A simple plugin that enables Select2 for WooCommerce variations select boxes
    55Author: Sti3bas
    6 Version: 1.0.2
     6Version: 1.1
    77Author URI: https://github.com/sti3bas
    88*/
     9
     10include_once(ABSPATH . 'wp-admin/includes/plugin.php');
    911
    1012/**
    1113 * Check if WooCommerce is active
    1214 **/
    13 if (! in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) {
     15if (! is_plugin_active('woocommerce/woocommerce.php') && ! is_plugin_active_for_network('woocommerce/woocommerce.php')) {
    1416    add_action('admin_notices', 'woovs2_woocommerce_inactive_notice');
    1517    return;
Note: See TracChangeset for help on using the changeset viewer.