[buddypress-trac] [BuddyPress Trac] #6489: Messages star action links do not work for displayed users

buddypress-trac noreply at wordpress.org
Thu Jun 11 01:01:50 UTC 2015


#6489: Messages star action links do not work for displayed users
-----------------------------------+--------------------
 Reporter:  johnjamesjacoby        |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  2.3.2
Component:  Component - Messaging  |     Version:  2.3.0
 Severity:  normal                 |  Resolution:
 Keywords:  commit                 |
-----------------------------------+--------------------
Changes (by r-a-y):

 * keywords:  2nd-opinion => commit
 * version:   => 2.3.0


Comment:

 Ugh, my bad about `else if ( $r['user_id'] == bp_displayed_user_domain() )
 {`.

 Definitely commit the patch!

 >  In order for this link to appear correctly for displayed users, one
 must explicitly pass a user ID into the function.

 I should point out that the messages component hardcodes the current user
 ID for many functions and actions.  I guess this would be a good time to
 clean this up for v2.4.

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


More information about the buddypress-trac mailing list