Changeset 28895 for trunk/src/wp-includes/option.php
- Timestamp:
- 06/29/2014 01:24:55 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/option.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r28735 r28895 747 747 748 748 // The cookie is not set in the current browser or the saved value is newer. 749 setcookie( 'wp-settings-' . $user_id, $settings, time() + YEAR_IN_SECONDS, SITECOOKIEPATH ); 750 setcookie( 'wp-settings-time-' . $user_id, time(), time() + YEAR_IN_SECONDS, SITECOOKIEPATH ); 749 $secure = is_https_url( site_url() ); 750 setcookie( 'wp-settings-' . $user_id, $settings, time() + YEAR_IN_SECONDS, SITECOOKIEPATH, COOKIE_DOMAIN, $secure ); 751 setcookie( 'wp-settings-time-' . $user_id, time(), time() + YEAR_IN_SECONDS, SITECOOKIEPATH, COOKIE_DOMAIN, $secure ); 751 752 $_COOKIE['wp-settings-' . $user_id] = $settings; 752 753 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)