[buddypress-trac] [BuddyPress Trac] #7096: Messages: member page messages are queried for the loggedin user

buddypress-trac noreply at wordpress.org
Thu Jul 13 16:41:21 UTC 2017


#7096: Messages: member page messages are queried for the loggedin user
--------------------------+----------------------
 Reporter:  Offereins     |       Owner:  dcavins
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.9
Component:  Messages      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+----------------------

Comment (by dcavins):

 Yes, I agree that Boone's fix is the simplest answer and is good for
 backward compatibility.

 As I understand it:
 The change to `bp-messages/bp-messages-template.php` restores the desired
 behavior to the links generated in the notifications list.

 That change breaks the new behavior of the links in a message list (using
 the displayed user as the link base) when an admin is viewing another
 member's messages screen, though, and is fixed by specifying the user ID
 in `bp-templates/bp-legacy/buddypress/members/single/messages/messages-
 loop.php`.

 @boonebgorges Thanks for fixing the problem I introduced!

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


More information about the buddypress-trac mailing list