Ticket #23372: 23372.patch
| File 23372.patch, 781 bytes (added by , 13 years ago) |
|---|
-
wp-includes/pluggable.php
651 651 */ 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 } 659 659