Ticket #14949: no-false-logout-message.14949.diff
File no-false-logout-message.14949.diff, 524 bytes (added by , 14 years ago) |
---|
-
wp-login.php
534 534 $user = wp_signon('', $secure_cookie); 535 535 536 536 $redirect_to = apply_filters('login_redirect', $redirect_to, isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '', $user); 537 538 if ( is_wp_error( $user ) && is_user_logged_in() ) { 539 $user = wp_get_current_user(); 540 } 537 541 538 542 if ( !is_wp_error($user) && !$reauth ) { 539 543 if ( $interim_login ) {