diff --git a/wp-login.php b/wp-login.php index ac7209fe2..ffd0f619b 100644 --- a/wp-login.php +++ b/wp-login.php @@ -572,6 +572,7 @@ default: if ( isset($_POST['log']) ) $user_login = ( 'incorrect_password' == $errors->get_error_code() || 'empty_password' == $errors->get_error_code() ) ? esc_attr(stripslashes($_POST['log'])) : ''; + $rememberme = ! empty( $_POST['rememberme'] ); ?>