Only queue woocommerce services install if it's not active

This commit is contained in:
Nabeel Sulieman 2017-05-31 09:28:37 -07:00
parent 27a3e83642
commit 62d7937a52
1 changed files with 1 additions and 1 deletions

View File

@ -612,7 +612,7 @@ class WC_Admin_Setup_Wizard {
$zone->save();
}
if ( $install_services ) {
if ( $install_services && ! is_plugin_active( 'woocommerce-services/woocommerce-services.php' ) ) {
$services_plugin_id = 'woocommerce-services';
$services_plugin = array(
'name' => __( 'WooCommerce Services', 'woocommerce' ),