#21519 closed defect (bug) (duplicate)
Bug in wp-login.php page
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.4.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
When a user tries to access the example.com/wp-login.php when he is already logged in, the present wp-login.php file redirects to the same login page asking for sign in details or leaves a blank page. A conditional statement which checks if the user is logged in or not should be present in the wp-login.php file like the following code.
/** If a user is logged in he should be redirected to the home page automatically. */ if ( is_user_logged_in() ) { wp_redirect( home_url() ); exit(); }
Change History (2)
Note: See
TracTickets for help on using
tickets.
#14949, #20639
A blank page might be related to ticket:14787:7.