Make WordPress Core

Ticket #47003: 47003.patch

File 47003.patch, 664 bytes (added by ramiy, 6 years ago)
  • wp-includes/user.php

     
    24462446                /** This filter is documented in wp-includes/user.php */
    24472447                $illegal_user_logins = array_map( 'strtolower', (array) apply_filters( 'illegal_user_logins', array() ) );
    24482448                if ( in_array( strtolower( $sanitized_user_login ), $illegal_user_logins ) ) {
    2449                         $errors->add( 'invalid_username', __( '<strong>ERROR</strong>: Sorry, that username is not allowed.' ) );
     2449                        $errors->add( 'invalid_username', __( 'Sorry, that username is not allowed.' ) );
    24502450                }
    24512451        }
    24522452