Merge pull request #22890 from woocommerce/fix/21785
Avoid changing tracking preferences when disconnecting helper
This commit is contained in:
commit
72870d808c
|
@ -833,9 +833,6 @@ class WC_Helper {
|
|||
self::_flush_subscriptions_cache();
|
||||
self::_flush_updates_cache();
|
||||
|
||||
// Disable tracking when disconnected.
|
||||
update_option( 'woocommerce_allow_tracking', 'no' );
|
||||
|
||||
wp_safe_redirect( $redirect_uri );
|
||||
die();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue