Merged in feature/MAW-855-import-code-into-aws (pull request #2)
code import from pantheon * code import from pantheon
This commit is contained in:
@@ -58,6 +58,7 @@ class WC_Helper {
|
||||
include_once dirname( __FILE__ ) . '/class-wc-helper-updater.php';
|
||||
include_once dirname( __FILE__ ) . '/class-wc-helper-plugin-info.php';
|
||||
include_once dirname( __FILE__ ) . '/class-wc-helper-compat.php';
|
||||
include_once dirname( __FILE__ ) . '/class-wc-helper-admin.php';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1198,6 +1199,11 @@ class WC_Helper {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Omit the WooCommerce plugin used on Woo Express sites.
|
||||
if ( 'WooCommerce' === $data['Name'] ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$data['_filename'] = $filename;
|
||||
$data['_product_id'] = absint( $product_id );
|
||||
$data['_file_id'] = $file_id;
|
||||
|
||||
Reference in New Issue
Block a user