[wp-trac] [WordPress Trac] #27617: Introduce a `logout_redirect` filter
WordPress Trac
noreply at wordpress.org
Wed Feb 11 19:18:21 UTC 2015
#27617: Introduce a `logout_redirect` filter
------------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.2
Component: Login and Registration | Version: 2.6
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------------+--------------------------
Changes (by johnbillion):
* owner: => johnbillion
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31417"]:
{{{
#!CommitTicketReference repository="" revision="31417"
Introduce a `logout_redirect` filter so the redirect destination can be
changed when a user logs out. Parameters:
* string $redirect_to The redirect destination URL.
* string $requested_redirect_to The requested redirect destination URL
passed as a parameter.
* WP_User $user The WP_User object for the user that's
logging out.
Fixes #27617
Props SergeyBiryukov, johnbillion
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27617#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list