Make WordPress Core

Changeset 3075


Ignore:
Timestamp:
11/14/2005 09:59:47 AM (21 years ago)
Author:
matt
Message:

No weird chars in #1714

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 */
Note: See TracChangeset for help on using the changeset viewer.