Make WordPress Core

Ticket #39385: 39385.patch

File 39385.patch, 396 bytes (added by fjarrett, 8 years ago)
  • wp-includes/user.php

     
    9393        }
    9494
    9595        wp_set_auth_cookie($user->ID, $credentials['remember'], $secure_cookie);
     96
     97        global $current_user;
     98        $current_user = $user;
     99
    96100        /**
    97101         * Fires after the user has successfully logged in.
    98102         *