Changeset 3075

Show
Ignore:
Timestamp:
11/14/05 09:59:47 (3 years ago)
Author:
matt
Message:

No weird chars in #1714

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/admin-functions.php

    r3074 r3075  
    326326            $errors['pass'] = __("<strong>ERROR</strong>: you typed your new password only once."); 
    327327    } 
     328 
     329    /* Check for "\" in password */ 
     330    if( strpos( " ".$pass1, "\\" ) ) 
     331        $errors['pass'] = __('<strong>ERROR</strong>: Passwords may not contain the character "\\".'); 
    328332 
    329333    /* checking the password has been typed twice the same */