mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
[13102] introduced a regression considering the way we used to set a thread's unread count. This count is set using the list of recipient objects (which include an `unread_count` property for each user object) by checking for the requested user ID into this list to find the corresponding unread count. Slicing this list into smaller parts to paginate recipients results introduced potential cases where the requested user ID wasn't found into this paginated list of recipients. Before doing the slice operation, we need to set the requested user ID thread's unread count to be sure it's the right one and not a `null` value. Props sjregan Fixes #8750 (branch 10.0) git-svn-id: https://buddypress.svn.wordpress.org/branches/10.0@13340 cdf35c40-ae34-48e0-9cc9-0c9da1808c22 |
||
|---|---|---|
| .. | ||
| assets | ||
| includes | ||
| testcases | ||
| bootstrap.php | ||
| codecoverage.xml | ||
| env.multisite.xml | ||
| env.xml | ||
| multisite.xml | ||