Ticket #14949: 14949-user-prior-filter.patch
File 14949-user-prior-filter.patch, 496 bytes (added by , 14 years ago) |
---|
-
wp-login.php
533 533 534 534 $user = wp_signon('', $secure_cookie); 535 535 536 if ( is_wp_error( $user ) && is_user_logged_in() ) 537 $user = wp_get_current_user(); 538 536 539 $redirect_to = apply_filters('login_redirect', $redirect_to, isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '', $user); 537 540 538 541 if ( !is_wp_error($user) && !$reauth ) {