diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index a63791b743..48e6855411 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -326,6 +326,10 @@ function edit_user($user_id = 0) {
$errors['pass'] = __("ERROR: you typed your new password only once.");
}
+ /* Check for "\" in password */
+ if( strpos( " ".$pass1, "\\" ) )
+ $errors['pass'] = __('ERROR: Passwords may not contain the character "\\".');
+
/* checking the password has been typed twice the same */
if ($pass1 != $pass2)
$errors['pass'] = __('ERROR: Please type the same password in the two password fields.');