[buddypress-trac] [BuddyPress] #4057: Usernames required to be without space without notice.

buddypress-trac noreply at wordpress.org
Sun Apr 14 03:54:25 UTC 2013


#4057: Usernames required to be without space without notice.
--------------------------+-----------------------
 Reporter:  enderpal444   |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  1.6
Component:  Core          |     Version:  1.7
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------
Changes (by anthony.bartoli):

 * status:  closed => reopened
 * type:  enhancement => defect (bug)
 * version:  1.5.4 => 1.7
 * resolution:  fixed =>


Comment:

 Replying to [comment:6 boonebgorges]:
 > In https://buddypress.trac.wordpress.org/changeset/5443, BuddyPress was
 modified so that it no longer imposes restrictions on usernames (aside
 from those enforced by WordPress). That should clear the issue in this
 ticket.
 >
 > If you can reproduce with the latest BP trunk, please reopen with
 details. Thanks!

 Version 1.7 still seems to impose restrictions at least as far as not
 allowing users to have spaces in their usernames.

 To reproduce:

 1) Install WordPress alone.
 2) Settings > General
 3) Select ''Anyone can register''
 4) Log out.
 5) Register as a user with spaces (i.e. "John Doe")
 6) In mysql: select * from wp_users;
 7) user_login will be: "'''John Doe'''" and user_nicename will be: "John-
 Doe"
 8) Log back in as the admin user
 9) Delete the new user you just created.
 10) Install and configure BuddyPress.
 11) Repeat steps 4-6
 12) user_login will be: "'''John-Doe'''" and user_nicename will be: "John-
 Doe"

 So it appears that BuddyPress is still preventing users from using spaces
 in their username.

 This is my first bug report so feel free to let me know if my bug
 reporting could be clearer or adhere better to accepted standards.

 This issue is particularly important to me as I am migrating a community
 from Joomla to BuddyPress and there are many users with spaces in their
 names. I'd be happy to write a patch for this.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4057#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list