WordPress Login Cookie

September 5th, 2008 | Tags: , ,

Regarding the WordPress login cookies, I [agree with Mike][1]. If I don’t log in for a while, then feel free to sign me out. Just don’t make me log in what seems like every other day.

To fix it in version 2.6.1, search `wp-includes\pluggable.php` for

$expiration = $expire = time() + 1209600;

and adjust the number of seconds the cookie should live for.

[1]: http://www.planetmike.com/2008/06/30/how-to-make-the-wordpress-login-cookie-last-longer-than-two-weeks/

No comments yet.
You must be logged in to post a comment.