Skip to:
Content

BuddyPress.org

Opened 4 months ago

Closed 4 months ago

#8543 closed defect (bug) (fixed)

Notifications: improve link management & customization

Reported by: imath Owned by: imath
Milestone: 10.0.0 Priority: normal
Severity: normal Version:
Component: Toolbar & Notifications Keywords: has-patch
Cc:

Description

  • Redirection URL used can be improved using bp_get_notifications_unread_permalink() & bp_get_notifications_read_permalink() functions
  • A filter is wrongly named bp_get_notifications_unread_permalink instead of bp_get_notifications_read_permalink

Attachments (1)

8543.patch (4.7 KB) - added by imath 4 months ago.

Download all attachments as: .zip

Change History (3)

@imath
4 months ago

#1 @imath
4 months ago

There's also 2 missing variables for one of the filters of groups_format_notifications()

Last edited 4 months ago by imath (previous) (diff)

#2 @imath
4 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13034:

Notifications: improve Action URLs management & customization

  • Use bp_get_notifications_unread_permalink() and bp_get_notifications_read_permalink() to set the Notifications screens/actions redirections instead of rebuilding the redirection URLs from scratch. This lets Advanced users customize the redirection links if needed.
  • Add 2 missing variables to the bp_groups_multiple_membership_request_rejected_notification dynamic filter.
  • Edit the name of the filter used by the bp_get_notifications_read_permalink() function to be more consistent with the name of the function.

Fixes #8543

Note: See TracTickets for help on using tickets.