[buddypress-trac] [BuddyPress Trac] #8750: Unread count not set for message threads
buddypress-trac
noreply at wordpress.org
Thu Oct 6 06:12:16 UTC 2022
#8750: Unread count not set for message threads
--------------------------+-----------------------------
Reporter: sjregan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Messages | Version: 10.4.0
Severity: normal | Keywords:
--------------------------+-----------------------------
When a new Message Thread is populated within the populate() method, the
unread_count property is not set.
This is because the array_slice() function added for ticket #8508 is
missing the preserve_keys parameter.
https://github.com/buddypress/buddypress/blob/master/src/bp-
messages/classes/class-bp-messages-thread.php#L317
I'll make a pull request tomorrow.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8750>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list