Skip to content

Commit 44742ad

Browse files
Update src/wp-includes/pluggable.php
Co-authored-by: Peter Wilson <[email protected]>
1 parent 66438cb commit 44742ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/pluggable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,8 +1043,8 @@ function wp_parse_auth_cookie( $cookie = '', $scheme = '' ) {
10431043
* The `$remember` parameter controls cookie persistence:
10441044
* - If true, the cookie is persistent (default 14 days, filterable via {@see 'auth_cookie_expiration'}).
10451045
* - If false, the cookie is a browser session cookie (expires when the browser closes).
1046-
* Internally, `auth_cookie_expiration` is still applied (default 2 days),
1047-
* but the HTTP cookie `$expire` is set to 0, so it won’t persist beyond the session.
1046+
* Internally, {@see 'auth_cookie_expiration'} is still applied, to expire the login after
1047+
* two days or when the browser is closed, whichever occurs first.
10481048
*
10491049
* @since 2.5.0
10501050
* @since 4.3.0 Added the `$token` parameter.

0 commit comments

Comments
 (0)