| @@ 526-535 (lines=10) @@ | ||
| 523 | * WPCOM user to connect. |
|
| 524 | */ |
|
| 525 | static function clear_wpcom_profile_cookies() { |
|
| 526 | if ( isset( $_COOKIE[ 'jetpack_sso_wpcom_name_' . COOKIEHASH ] ) ) { |
|
| 527 | setcookie( |
|
| 528 | 'jetpack_sso_wpcom_name_' . COOKIEHASH, |
|
| 529 | ' ', |
|
| 530 | time() - YEAR_IN_SECONDS, |
|
| 531 | COOKIEPATH, |
|
| 532 | COOKIE_DOMAIN, |
|
| 533 | is_ssl() |
|
| 534 | ); |
|
| 535 | } |
|
| 536 | ||
| 537 | if ( isset( $_COOKIE[ 'jetpack_sso_wpcom_gravatar_' . COOKIEHASH ] ) ) { |
|
| 538 | setcookie( |
|
| @@ 537-546 (lines=10) @@ | ||
| 534 | ); |
|
| 535 | } |
|
| 536 | ||
| 537 | if ( isset( $_COOKIE[ 'jetpack_sso_wpcom_gravatar_' . COOKIEHASH ] ) ) { |
|
| 538 | setcookie( |
|
| 539 | 'jetpack_sso_wpcom_gravatar_' . COOKIEHASH, |
|
| 540 | ' ', |
|
| 541 | time() - YEAR_IN_SECONDS, |
|
| 542 | COOKIEPATH, |
|
| 543 | COOKIE_DOMAIN, |
|
| 544 | is_ssl() |
|
| 545 | ); |
|
| 546 | } |
|
| 547 | } |
|
| 548 | ||
| 549 | /** |
|