This commit is contained in:
louwie17 2021-09-21 15:40:14 -03:00 committed by GitHub
parent 9a361dde6c
commit f5dc970a0f
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class Init {
return false;
}
$anon_id = isset( $_COOKIE['tk_ai'] ) ? sanitize_text_field( wp_unslash( $_COOKIE['tk_ai'] ) ) : null;
$anon_id = isset( $_COOKIE['tk_ai'] ) ? sanitize_text_field( wp_unslash( $_COOKIE['tk_ai'] ) ) : '';
$allow_tracking = 'yes' === get_option( 'woocommerce_allow_tracking' );
$abtest = new \WooCommerce\Admin\Experimental_Abtest(
$anon_id,