[wp-trac] [WordPress Trac] #49533: Add user ID to wp_logout action
WordPress Trac
noreply at wordpress.org
Thu Feb 27 20:06:49 UTC 2020
#49533: Add user ID to wp_logout action
----------------------------------------+------------------------------
Reporter: TimothyBlynJacobs | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 5.3
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+------------------------------
Comment (by figureone):
This is actually what we did manually, after a report of an
incompatibility with another plugin (User Switching) after we switched
from the `wp_logout` to `clear_auth_cookie` hook. Now we grab the user ID
in `clear_auth_cookie`, and then reference it in `wp_logout`.
https://github.com/uhm-
coe/authorizer/commit/30d902be01f17d414fc18179cfb3e84a916499f4
https://github.com/uhm-coe/authorizer/issues/91
Adding user ID as a param to `wp_logout` would simplify this for us.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49533#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list