Skip to:
Content

BuddyPress.org

Changeset 11522


Ignore:
Timestamp:
04/03/2017 06:52:32 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Notifications: Pass user ID into the getter.

Make sure $user_id is correctly passed into bp_get_the_notification_mark_unread_link() from bp_the_notification_mark_unread_link(). Previous to this fix, the user ID was ignored and the displayed user was used as the incorrect default value.

BuddyPress core does not reveal this potential bug anywhere, but custom usages of bp_the_notification_mark_unread_link() may have exhibited it without reported incident since 2.6.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.