diff --git a/projects/packages/sync/changelog/update-jetpack-sync-whitelist b/projects/packages/sync/changelog/update-jetpack-sync-whitelist new file mode 100644 index 0000000000000..ec3ed3a0e10e4 --- /dev/null +++ b/projects/packages/sync/changelog/update-jetpack-sync-whitelist @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Jetpack Sync: Add 'woocommerce_analytics_first_activation' in options' whitelist diff --git a/projects/packages/sync/src/class-defaults.php b/projects/packages/sync/src/class-defaults.php index ebe986fc94310..968822ac9a9a6 100644 --- a/projects/packages/sync/src/class-defaults.php +++ b/projects/packages/sync/src/class-defaults.php @@ -213,6 +213,7 @@ class Defaults { 'jetpack_waf_share_data', 'jetpack_waf_share_debug_data', 'jetpack_waf_automatic_rules_last_updated_timestamp', + 'woocommerce_analytics_first_activation', ); /** diff --git a/projects/plugins/jetpack/changelog/update-jetpack-sync-whitelist b/projects/plugins/jetpack/changelog/update-jetpack-sync-whitelist new file mode 100644 index 0000000000000..632fd55a1cb3a --- /dev/null +++ b/projects/plugins/jetpack/changelog/update-jetpack-sync-whitelist @@ -0,0 +1,5 @@ +Significance: patch +Type: other +Comment: Update Sync unit test + + diff --git a/projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-options.php b/projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-options.php index 75452b5f63ed6..75282db8c96e8 100644 --- a/projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-options.php +++ b/projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-options.php @@ -277,6 +277,7 @@ public function test_sync_default_options() { 'jetpack_waf_share_data' => true, 'jetpack_waf_share_debug_data' => false, 'jetpack_waf_automatic_rules_last_updated_timestamp' => 0, + 'woocommerce_analytics_first_activation' => false, ); $theme_mod_key = 'theme_mods_' . get_option( 'stylesheet' );