IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
825 | 825 | |
826 | 826 | // The cookie is not set in the current browser or the saved value is newer. |
827 | 827 | $secure = ( 'https' === parse_url( admin_url(), PHP_URL_SCHEME ) ); |
828 | | setcookie( 'wp-settings-' . $user_id, $settings, time() + YEAR_IN_SECONDS, SITECOOKIEPATH, null, $secure ); |
829 | | setcookie( 'wp-settings-time-' . $user_id, time(), time() + YEAR_IN_SECONDS, SITECOOKIEPATH, null, $secure ); |
| 828 | setcookie( 'wp-settings-' . $user_id, $settings, time() + YEAR_IN_SECONDS, SITECOOKIEPATH, COOKIE_DOMAIN, $secure ); |
| 829 | setcookie( 'wp-settings-time-' . $user_id, time(), time() + YEAR_IN_SECONDS, SITECOOKIEPATH, COOKIE_DOMAIN, $secure ); |
830 | 830 | $_COOKIE['wp-settings-' . $user_id] = $settings; |
831 | 831 | } |
832 | 832 | |