summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/sync/class.jetpack-sync-module-woocommerce.php')
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-module-woocommerce.php31
1 files changed, 15 insertions, 16 deletions
diff --git a/plugins/jetpack/sync/class.jetpack-sync-module-woocommerce.php b/plugins/jetpack/sync/class.jetpack-sync-module-woocommerce.php
index 6a048c38..f1b3a888 100644
--- a/plugins/jetpack/sync/class.jetpack-sync-module-woocommerce.php
+++ b/plugins/jetpack/sync/class.jetpack-sync-module-woocommerce.php
@@ -235,25 +235,24 @@ class Jetpack_Sync_Module_WooCommerce extends Jetpack_Sync_Module {
//woocommerce orders
// https://github.com/woocommerce/woocommerce/blob/8ed6e7436ff87c2153ed30edd83c1ab8abbdd3e9/includes/data-stores/class-wc-order-data-store-cpt.php#L27
- '_customer_user',
'_order_key',
'_order_currency',
- '_billing_first_name',
- '_billing_last_name',
- '_billing_company',
- '_billing_address_1',
- '_billing_address_2',
+ // '_billing_first_name', do not sync these as they contain personal data
+ // '_billing_last_name',
+ // '_billing_company',
+ // '_billing_address_1',
+ // '_billing_address_2',
'_billing_city',
'_billing_state',
'_billing_postcode',
'_billing_country',
- '_billing_email',
- '_billing_phone',
- '_shipping_first_name',
- '_shipping_last_name',
- '_shipping_company',
- '_shipping_address_1',
- '_shipping_address_2',
+ // '_billing_email', do not sync these as they contain personal data
+ // '_billing_phone',
+ // '_shipping_first_name',
+ // '_shipping_last_name',
+ // '_shipping_company',
+ // '_shipping_address_1',
+ // '_shipping_address_2',
'_shipping_city',
'_shipping_state',
'_shipping_postcode',
@@ -268,9 +267,9 @@ class Jetpack_Sync_Module_WooCommerce extends Jetpack_Sync_Module {
'_order_total',
'_payment_method',
'_payment_method_title',
- '_transaction_id',
- '_customer_ip_address',
- '_customer_user_agent',
+ // '_transaction_id', do not sync these as they contain personal data
+ // '_customer_ip_address',
+ // '_customer_user_agent',
'_created_via',
'_order_version',
'_prices_include_tax',