[wp-trac] [WordPress Trac] #63230: Correct expiration time documentation for `wp_set_auth_cookie()`
WordPress Trac
noreply at wordpress.org
Fri Apr 4 21:06:08 UTC 2025
#63230: Correct expiration time documentation for `wp_set_auth_cookie()`
------------------------------------+---------------------
Reporter: peterwilsoncc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-docs | Focuses: docs
------------------------------------+---------------------
Comment (by peterwilsoncc):
I realised I was mistaken about don’t remember me after reviewing the
code. The second instance is used, as John points out. The docs should
document authentication time as:
Remember me: Remain logged in for 14 days, the cookie is stored for 14.5
days to avoid data loss in background Ajax requests immediately after the
login expires and users are prompted to log back in.
Don’t remember me: remain logged in for the current browser session or up
to two days (whichever is shorter) in browsers that remain open
The copy will need a little tidying up.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63230#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list