[wp-trac] [WordPress Trac] #41849: Pass the session token to the set_auth_cookie and set_logged_in_cookie filters
WordPress Trac
noreply at wordpress.org
Sun Sep 10 21:06:09 UTC 2017
#41849: Pass the session token to the set_auth_cookie and set_logged_in_cookie
filters
------------------------------------+-----------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9
Component: Login and Registration | Version: 4.0
Severity: normal | Keywords:
Focuses: |
------------------------------------+-----------------
The `$token` for the user session doesn't get passed through to the
`set_auth_cookie` and `set_logged_in_cookie` filters when a user logs in
(it is passed to the `auth_cookie` filter though, but that's not
guaranteed to be linked to the action of logging in).
This is handy for debugging, logging, and session management purposes
without having to extract the token from the cookie value.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41849>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list