From 70d0e3be0d77bb7fd6524b1a1fb1c1ff4f9e30e4 Mon Sep 17 00:00:00 2001 From: Karen Attfield Date: Wed, 10 Jun 2026 11:01:37 +0100 Subject: [PATCH 1/3] Add assorted Woo options to the sync option whitelist as needed for the activity log --- .../packages/sync/src/modules/class-woocommerce.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/projects/packages/sync/src/modules/class-woocommerce.php b/projects/packages/sync/src/modules/class-woocommerce.php index bd886831a16..6e3f3c7ba47 100644 --- a/projects/packages/sync/src/modules/class-woocommerce.php +++ b/projects/packages/sync/src/modules/class-woocommerce.php @@ -617,6 +617,7 @@ public function filter_action_scheduler_comments( $can_sync, $comment ) { 'woocommerce_woocommerce_payments_google_pay_settings', 'woocommerce_woocommerce_payments_settings', 'wc_stripe_agentic_commerce_webhook_secret', // This and the below options relate to additional payment types. + 'wc_square_settings', 'woocommerce_amazon_payments_advanced_settings', 'woocommerce_gift_cards_pay_settings', 'woocommerce_square_cash_app_pay_settings', @@ -625,6 +626,18 @@ public function filter_action_scheduler_comments( $can_sync, $comment ) { 'woocommerce_bacs_accounts', // This and the below options relate to offline payments. 'woocommerce_bacs_settings', 'woocommerce_cheque_settings', + 'woocommerce_ppcp-recaptcha_settings', // This and the below options relate to the WooCommerce Integrations settings page. Required for the Activity Log. + 'woocommerce_maxmind_geolocation_settings', + 'woocommerce_store_pages_only', // This and the below options relate to the WooCommerce Site Visibility settings page. Required for the Activity Log. + 'woocommerce_private_link', + 'woocommerce_coming_soon', + 'wcpay_multi_currency_enabled_currencies ', // This and the below option relate to the WooCommerce Multi-Currency settings page. Required for the Activity Log. + 'wcpay_multi_currency_enable_auto_currency', + 'woocommerce_pos_store_name', // This and the below options relate to the WooCommerce Point of Sale settings page. Required for the Activity Log. + 'woocommerce_pos_store_address', + 'woocommerce_pos_store_phone', + 'woocommerce_pos_store_email', + 'woocommerce_pos_refund_returns_policy', ); /** From cf2b0f38830d5ccc45a23072604dfb5000cd918e Mon Sep 17 00:00:00 2001 From: Karen Attfield Date: Wed, 10 Jun 2026 11:04:38 +0100 Subject: [PATCH 2/3] changelog --- .../sync/changelog/add-allow-sync-for-woo-assorted-options | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/packages/sync/changelog/add-allow-sync-for-woo-assorted-options diff --git a/projects/packages/sync/changelog/add-allow-sync-for-woo-assorted-options b/projects/packages/sync/changelog/add-allow-sync-for-woo-assorted-options new file mode 100644 index 00000000000..7e0892aa0f0 --- /dev/null +++ b/projects/packages/sync/changelog/add-allow-sync-for-woo-assorted-options @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Add options from assorted WooCommerce settings pages to sync whitelist, as part of activity log improvements. From c30e3baa3bbfee75fb095fcaaf76362389c029c7 Mon Sep 17 00:00:00 2001 From: Karen Attfield Date: Wed, 10 Jun 2026 15:04:40 +0100 Subject: [PATCH 3/3] Remove extraneous white space --- projects/packages/sync/src/modules/class-woocommerce.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/packages/sync/src/modules/class-woocommerce.php b/projects/packages/sync/src/modules/class-woocommerce.php index b5104e320a0..801c319d4e2 100644 --- a/projects/packages/sync/src/modules/class-woocommerce.php +++ b/projects/packages/sync/src/modules/class-woocommerce.php @@ -631,7 +631,7 @@ public function filter_action_scheduler_comments( $can_sync, $comment ) { 'woocommerce_store_pages_only', // This and the below options relate to the WooCommerce Site Visibility settings page. Required for the Activity Log. 'woocommerce_private_link', 'woocommerce_coming_soon', - 'wcpay_multi_currency_enabled_currencies ', // This and the below option relate to the WooCommerce Multi-Currency settings page. Required for the Activity Log. + 'wcpay_multi_currency_enabled_currencies', // This and the below option relate to the WooCommerce Multi-Currency settings page. Required for the Activity Log. 'wcpay_multi_currency_enable_auto_currency', 'woocommerce_pos_store_name', // This and the below options relate to the WooCommerce Point of Sale settings page. Required for the Activity Log. 'woocommerce_pos_store_address',