Opened 3 years ago
Closed 3 years ago
#8489 closed enhancement (fixed)
Mark a thread as (un)read to a specific user
Reported by: | espellcaste | Owned by: | espellcaste |
---|---|---|---|
Milestone: | 9.0.0 | Priority: | normal |
Severity: | normal | Version: | 8.0.0 |
Component: | Messages | Keywords: | has-patch has-unit-tests commit |
Cc: |
Description
Currently, messages_mark_thread_read
and messages_mark_thread_unread
grab the id of the user from the logged in user or from the displayed user id.
From an API perspective, that's not ideal since you can't set a specific user id directly.
So I'm suggesting an improvement so that we can use those functions in the BuddyPress APIs (REST API and CLI) by setting a user ID directly without relying in the forementioned user IDs.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Thanks for your work on this, I will test it asap 👌