diff --git a/password-protected.php b/password-protected.php index 659c489..6f45228 100644 --- a/password-protected.php +++ b/password-protected.php @@ -321,7 +321,7 @@ public function maybe_process_login() { $this->safe_redirect( remove_query_arg( 'password-protected', $redirect_to ) ); exit; } elseif ( isset( $_GET['password_protected_pwd'] ) ) { - $this->safe_redirect( remove_query_arg( 'password-protected' ) ); + $this->safe_redirect( remove_query_arg( ['password_protected_pwd', 'password-protected'] ) ); exit; }