BuddyPress extent and notifications
-
Hi,
I’m using WP 3.8.1, BbPress 2.5.3 and BuddyPress 1.9.1.
In this integration between bbPress and BuddyPress, in the function bbp_format_buddypress_notifications() located in the file bbpress/includes/extend/buddypress/notifications.php, it seems that this function break the filter chain for the filter ‘bp_notifications_get_notifications_for_user’, by returning no value if the action is not catched (not being ‘bbp_new_reply’).
It would be great to add at the end of the function : else return $action;
This will prevent the apply_filters_ref_array function in wp-includes/plugin.php to unset the first variable (the $action parameter).
- You must be logged in to reply to this topic.