[buddypress-trac] [BuddyPress] #5187: Unable to add user to Group that has an email address as their username

buddypress-trac noreply at wordpress.org
Thu Oct 24 22:04:58 UTC 2013


#5187: Unable to add user to Group that has an email address as their username
-------------------------------------------------+-------------------------
 Reporter:  wernerk                              |       Owner:  r-a-y
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Groups                               |  Review
 Severity:  normal                               |     Version:  1.8.1
 Keywords:  needs-patch needs-testing reporter-  |  Resolution:  fixed
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7478"]:
 {{{
 #!CommitTicketReference repository="" revision="7478"
 Use 'user_nicename' when adding a member via autocomplete in the group
 admin dashboard page.

 Previously, 'user_login' was used, which is an unsanitized version of the
 username.  When attempting to add a member with special characters (such
 as an email address), the JS would throw an error.

 Switching to 'user_nicename' allows a sanitized version of the username to
 be used and fixes the issue with the autocomplete JS.

 Fixes #5187.
 }}}

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


More information about the buddypress-trac mailing list