[buddypress-trac] [BuddyPress Trac] #8696: BP REST API Messages endpoint does not return latest message in excerpt field

buddypress-trac noreply at wordpress.org
Sun Jan 8 23:12:08 UTC 2023


#8696: BP REST API Messages endpoint does not return latest message in excerpt
field
-------------------------------------------------+-------------------------
 Reporter:  niftythree                           |       Owner:
                                                 |  espellcaste
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  12.0.0
Component:  REST API                             |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  dev-reviewed has-patch has-unit-     |
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by espellcaste):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13402" 13402]:
 {{{
 #!CommitTicketReference repository="" revision="13402"
 `BP_Messages_Thread`: return the *right* latest message.

 Introducing a new method `get_latest_thread_message()` to the
 `BP_Messages_Thread` class which returns the latest message of a thread.

 Closes https://github.com/buddypress/buddypress/pull/52
 Fixes #8696
 }}}

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


More information about the buddypress-trac mailing list