[buddypress-trac] [BuddyPress Trac] #8750: Unread count not set for message threads

buddypress-trac noreply at wordpress.org
Tue Oct 11 05:07:06 UTC 2022


#8750: Unread count not set for message threads
--------------------------------------+---------------------
 Reporter:  sjregan                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  10.5.0
Component:  Messages                  |     Version:  10.4.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+---------------------

Comment (by imath):

 @sjregan Sure, except that I'm setting the thread's `unreat_count`
 property before the array is sliced. In
 [https://buddypress.trac.wordpress.org/attachment/ticket/8750/8750.2.patch
 8750.2.patch] I've just added another test for this scenario and included
 the `user_id` argument in
 https://github.com/buddypress/buddypress/blob/e0f5aaa4746fbbd9bee36fa810eaf67e103f1013/src
 /bp-messages/classes/class-bp-messages-thread.php#L758-L764

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8750#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list