I18N: Display the logged out message in the user's locale
Built from https://develop.svn.wordpress.org/trunk@45690 git-svn-id: http://core.svn.wordpress.org/trunk@45501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
391d6a3f2b
commit
182f813e24
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45689';
|
||||
$wp_version = '5.3-alpha-45690';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
@ -553,7 +553,13 @@ switch ( $action ) {
|
|||
$redirect_to = $_REQUEST['redirect_to'];
|
||||
$requested_redirect_to = $redirect_to;
|
||||
} else {
|
||||
$redirect_to = 'wp-login.php?loggedout=true';
|
||||
$redirect_to = add_query_arg(
|
||||
array(
|
||||
'loggedout' => 'true',
|
||||
'wp_lang' => get_user_locale( $user ),
|
||||
),
|
||||
wp_login_url()
|
||||
);
|
||||
$requested_redirect_to = '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue