summaryrefslogtreecommitdiffstats
path: root/wp-login.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-login.php')
-rw-r--r--wp-login.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-login.php b/wp-login.php
index 87c765f..b169ee5 100644
--- a/wp-login.php
+++ b/wp-login.php
@@ -207,6 +207,8 @@ default:
if ( $using_cookie )
$error = __('Your session has expired.');
}
+ } else if ( $user_login || $user_pass ) {
+ $error = __('<strong>Error</strong>: The password field is empty.');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">