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

buddypress-trac noreply at wordpress.org
Wed Jun 10 23:08:29 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:
 Severity:  normal                 |   Keywords:  2nd-opinion
-----------------------------------+-------------------------
 `bp_get_the_message_star_action_link()` incorrectly assumes that links
 will always be for the current user. In order for this link to appear
 correctly for displayed users, one must explicitly pass a user ID into the
 function. This goes against all other links of these types.


 Consequently down the line, the:
 {{{
 } else if ( $r['user_id'] == bp_displayed_user_domain() ) {
 }}}
 ...check will never pass.

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


More information about the buddypress-trac mailing list