Skip to:
Content

BuddyPress.org

Opened 6 years ago

Closed 6 years ago

#7767 closed defect (bug) (no action required)

user_name on registration without space bar Then need validation

Reported by: ravipatel's profile ravipatel Owned by:
Milestone: Priority: high
Severity: major Version:
Component: Core Keywords:
Cc:

Description

This one buddy press bug :

wordpress : 4.9.5
Buddypress : 2.9.4

On registration time same like default wordpress username allowed with space but buddy presss remove a space in code.

\plugins\buddypress\bp-members\bp-members-functions.php Line : 1852

$user_login     = preg_replace( '/\s+/', '', sanitize_user( $user_login, true ) );

https://buddydev.com/buddypress/prevent-spaces-in-wordpressbuddypress-usernames/

In short without validate filed why removed a space from username because of after registration user don’t know this one removed a space.

Example :
Ravi Patel (registration input time)
After registration this one display now in backend RaviPatel.

Attachments (1)

buddypress-reg.png (77.7 KB) - added by ravipatel 6 years ago.

Download all attachments as: .zip

Change History (3)

#1 @r-a-y
6 years ago

Thanks for the report, @ravipatel.

It looks like we already have a ticket about this - #6144.

Going to close this as a duplicate.

#2 @r-a-y
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 2.9.4 deleted
Note: See TracTickets for help on using tickets.