Changeset 23388
- Timestamp:
- 02/06/2013 03:44:43 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r23294 r23388 652 652 function wp_set_auth_cookie($user_id, $remember = false, $secure = '') { 653 653 if ( $remember ) { 654 $expiration = $expire = time() + apply_filters('auth_cookie_expiration', 1 209600, $user_id, $remember);654 $expiration = $expire = time() + apply_filters('auth_cookie_expiration', 14 * DAY_IN_SECONDS, $user_id, $remember); 655 655 } else { 656 $expiration = time() + apply_filters('auth_cookie_expiration', 172800, $user_id, $remember);656 $expiration = time() + apply_filters('auth_cookie_expiration', 2 * DAY_IN_SECONDS, $user_id, $remember); 657 657 $expire = 0; 658 658 }
Note: See TracChangeset
for help on using the changeset viewer.