[buddypress-trac] [BuddyPress] #3800: bp_core_get_userid() needs a check for user_nicename

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Dec 6 02:26:22 UTC 2011

#3800: bp_core_get_userid() needs a check for user_nicename
 Reporter:  r-a-y         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Members       |    Version:  1.5.1
 Severity:  major         |   Keywords:  needs-patch
 By default, BuddyPress now checks for user_nicename instead of user_login,
 however we don't check for user_nicename in bp_core_get_userid().

 So far, I've found this breaks autocomplete functionality for the messages
 component if the user_login does not match the user_nicename. (For the
 most part, this occurs on single WordPress installs that are adding
 BuddyPress for the first time.)  But there could be more instances.

 A code audit of user_login vs. user_nicename should probably be done at
 the same time as well.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3800>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list