[buddypress-trac] [BuddyPress] #3800: bp_message_get_recipient_tabs() uses bp_core_get_userid() instead of bp_core_get_userid_from_nicename() (was: 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:39:33 UTC 2011


#3800: bp_message_get_recipient_tabs() uses bp_core_get_userid() instead of
bp_core_get_userid_from_nicename()
--------------------------+------------------------------
 Reporter:  r-a-y         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Messaging     |     Version:  1.5.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------
Changes (by r-a-y):

 * component:  Members => Messaging
 * severity:  major => normal


Comment:

 Okay, just did some investigating.

 Turns out there is a function that grabs the user_id by user_nicename -
 bp_core_get_userid_from_nicename().

 We should use that function combined with
 bp_is_username_compatibility_mode() in bp_message_get_recipient_tabs().

 Changing the ticket title appropriately.

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


More information about the buddypress-trac mailing list