[buddypress-trac] [BuddyPress] #5250: bp_send_message_button() doesn't get member id in members-loop.php

buddypress-trac noreply at wordpress.org
Tue Nov 19 15:16:48 UTC 2013


#5250: bp_send_message_button() doesn't get member id in members-loop.php
--------------------------+-----------------------------
 Reporter:  sgr33n        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi,

 I'm adding a send message button to every user on the users directory page
 adding the following action:

 {{{
 add_action( 'bp_directory_members_actions', 'bp_send_message_button' );
 }}}

 Even if bp_member_add_friend_button works pretty good,
 bp_send_message_button doesn't get the destination user id, resulting in
 the link:
 http://ww2.buddypress.org/users/sgr33n/messages/compose/?r&_wpnonce=d4900176ce

 I suppose it's a bug, because the function bp_send_message_button() works
 good on the member-header.php.

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


More information about the buddypress-trac mailing list