WordPress.org

Make WordPress Core

Ticket #47376: 47376.diff

File 47376.diff, 487 bytes (added by johnbillion, 8 weeks ago)
  • src/wp-login.php

    diff --git a/src/wp-login.php b/src/wp-login.php
    index 5ecf5f0dbf..a14c95ac98 100644
    a b switch ( $action ) { 
    543543                if ( ! empty( $_REQUEST['redirect_to'] ) ) {
    544544                        $redirect_to = $requested_redirect_to = $_REQUEST['redirect_to'];
    545545                } else {
    546                         $redirect_to           = 'wp-login.php?loggedout=true';
     546                        $redirect_to           = 'wp-login.php?loggedout=true&wp_lang=' . $user->locale;
    547547                        $requested_redirect_to = '';
    548548                }
    549549