diff options
Diffstat (limited to 'plugins/jetpack/src/class-tracking.php')
-rw-r--r-- | plugins/jetpack/src/class-tracking.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/src/class-tracking.php b/plugins/jetpack/src/class-tracking.php index 12b00e41..653ad939 100644 --- a/plugins/jetpack/src/class-tracking.php +++ b/plugins/jetpack/src/class-tracking.php @@ -95,7 +95,7 @@ class Tracking { $this->tracking->record_user_event( '_aliasUser', array( 'anonId' => $anon_id ) ); delete_user_meta( $user_id, 'jetpack_tracks_anon_id' ); if ( ! headers_sent() ) { - setcookie( 'tk_ai', 'expired', time() - 1000 ); + setcookie( 'tk_ai', 'expired', time() - 1000, COOKIEPATH, COOKIE_DOMAIN, is_ssl(), false ); // phpcs:ignore Jetpack.Functions.SetCookie -- Want this accessible. } } |