#3213 closed defect (bug) (fixed)
Incorrect value passed for new reply notification in buddypress
Reported by: | seennothurd | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.6.6 | Priority: | high |
Severity: | major | Version: | 2.5 |
Component: | Extend - BuddyPress | Keywords: | needs-testing |
Cc: |
Description
The value passed into the item_id key of the array of args for bp_notifications_add_notification (includes/extend/buddypress/notifications.php:149) does not match the value expected for the notification formatting (includes/extend/buddypress/notifications.php:70).
The value the formatting function expects is the reply ID. The value passed along from the bp_notifications_add_notification function is the topic ID of that reply. This means the bbp_get_reply_url function returns a useless url, which in the case of Buddypress causes an redirect loop.
This means users cannot get to the new reply as notified.
Attachments (1)
Change History (6)
#1
@
6 years ago
- Keywords commit added
- Milestone changed from Awaiting Review to 2.6
- Owner set to johnjamesjacoby
- Version changed from trunk to 2.5
#3
@
5 years ago
- Keywords needs-testing added; commit removed
- Milestone changed from 2.6 to 2.6.6
- Priority changed from normal to high
- Resolution fixed deleted
- Severity changed from normal to major
- Status changed from closed to reopened
This change has caused bbp_buddypress_mark_notifications()
to stop working as intended.
Or bbp_format_buddypress_notifications()
is using the wrong ID to create the wrong URL.
Going to reopen this to look into it further for 2.6.6.
In 6845: