Skip to:
Content

BuddyPress.org

Ticket #2207: 2207.01.patch

File 2207.01.patch, 574 bytes (added by boonebgorges, 13 years ago)
  • bp-members/bp-members-signup.php

    diff --git bp-members/bp-members-signup.php bp-members/bp-members-signup.php
    index 89b28b9..adbefb8 100644
    function bp_core_validate_user_signup( $user_name, $user_email ) { 
    308308                $errors->add( 'user_name', __( 'Please enter a username', 'buddypress' ) );
    309309
    310310        $maybe = array();
    311         preg_match( "/[a-z0-9]+/", $user_name, $maybe );
     311        preg_match( "/[a-zA-Z0-9]+/", $user_name, $maybe );
    312312
    313313        // Make sure illegal names include BuddyPress slugs and values
    314314        bp_core_flush_illegal_names();