WordPress.org

Make WordPress Core

Changeset 11292


Ignore:
Timestamp:
05/12/09 05:21:32 (6 years ago)
Author:
ryan
Message:

Allow quotes in passwords. fixes #8866

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r11266 r11292  
    150150 
    151151    /* Check for "\" in password */ 
    152     if( strpos( " ".$pass1, "\\" ) ) 
     152    if ( false !== strpos( stripslashes($pass1), "\\" ) ) 
    153153        $errors->add( 'pass', __( '<strong>ERROR</strong>: Passwords may not contain the character "\\".' ), array( 'form-field' => 'pass1' ) ); 
    154154 
Note: See TracChangeset for help on using the changeset viewer.