[buddypress-trac] [BuddyPress Trac] #8136: We should have `Secondary Item Id` in filters for `friends_format_notifications` function

buddypress-trac noreply at wordpress.org
Sun Sep 29 12:26:57 UTC 2019


#8136: We should have `Secondary Item Id` in filters for
`friends_format_notifications` function
-------------------------------+-----------------------------
 Reporter:  bhargavbhandari90  |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Core               |    Version:  4.4.0
 Severity:  normal             |   Keywords:  has-patch
-------------------------------+-----------------------------
 In file `src/bp-friends/bp-friends-notifications.php`

 We have a function `friends_format_notifications` to get notification of
 user friendships.

 In the function there are 4 filters as follow:

                  *   - bp_friends_single_friendship_accepted_notification
                  *   -
 bp_friends_multiple_friendship_accepted_notification
                  *   - bp_friends_single_friendship_request_notification
                  *   - bp_friends_multiple_friendship_request_notification

 But for these filters, we don't have `secondary item id` passed in
 arguments. Some users might need that secondary item id as well.

 Let me know if there is specific reason not to pass secondary item id in
 those filters.

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


More information about the buddypress-trac mailing list