Plugin Directory

Changeset 1412501


Ignore:
Timestamp:
05/08/2016 10:37:21 AM (10 years ago)
Author:
pco_58
Message:

fix error is_plugin_active_for_network

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wc-products-pack/trunk/wc_product_pack.php

    r1412496 r1412501  
    1515*/
    1616
     17if (!function_exists('is_plugin_active_for_network'))
     18  require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
     19
    1720// Check if WooCommerce is active and bail if it's not
    1821if ( !is_woocommerce_active() ) {
    1922  return;
    2023}
    21 
    22 if (!function_exists('is_plugin_active_for_network'))
    23   require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    2424
    2525
Note: See TracChangeset for help on using the changeset viewer.