Opened 14 years ago
Closed 14 years ago
#3676 closed defect (bug) (fixed)
Friend count doesn't iterate when $force_accept is true in friends_add_friend()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 1.6 | Priority: | normal |
| Severity: | normal | Version: | 1.2 |
| Component: | Friends | Keywords: | dev-feedback |
| Cc: |
Description
When you set the $force_accept parameter to true in friends_add_friend(), the friends count is never iterated because there is no call to friends_update_friend_totals().
Change History (3)
Note: See
TracTickets for help on using
tickets.
To be more accurate, the friend count returned by the user meta key "total_friend_count" is never updated.
This affects
friends_get_total_friend_count(), which, in turn, is used inbp_get_displayed_user_nav().