Skip to content

Commit

Permalink
Jetpack Sync: Add 'woocommerce_analytics_first_activation' in options…
Browse files Browse the repository at this point in the history
…' whitelist (#39658)

* Jetpack Sync: Add 'woocommerce_analytics_first_activation' in options' whitelist
  • Loading branch information
fgiannar authored Oct 8, 2024
1 parent 318aa2c commit 155c6a3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: added

Jetpack Sync: Add 'woocommerce_analytics_first_activation' in options' whitelist
1 change: 1 addition & 0 deletions projects/packages/sync/src/class-defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: other
Comment: Update Sync unit test


Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down

0 comments on commit 155c6a3

Please sign in to comment.