Opened 4 years ago
Last modified 10 months ago
#3401 assigned defect (bug)
Subscriptions still loading from user_meta
Reported by: | Dermes | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | Under Consideration | Priority: | normal |
Severity: | normal | Version: | 2.6.5 |
Component: | API - Engagements | Keywords: | reporter-feedback |
Cc: |
Description
We followed the forum tools data update for subscriptions by copying them from user_meta to post_meta but when debugging the code we find that it still loads the subscriptions from the user_meta table.
And when running the bbp_get_user_forum_subscriptions at the forum user profile page the function get_user_option_key in common/engagements.php returns the wrong key for forum_subscriptions since $object_id is 0. Instead it returns the topic_subscriptions key and later on then returns no forum subscriptions since it only gets topic_subscriptions in the return value.
Hi there. Sorry you're having trouble.
What does
bbp_engagements_strategy()
return?