Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #8508


Ignore:
Timestamp:
07/10/2021 12:33:23 AM (4 months ago)
Author:
espellcaste
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8508 – Description

    initial v1  
    11Currently, the `BP_Messages_Thread` class grabs all messages created for a thread. So if a thread has 1k messages, it tries to grab all of them and caches them, but there is no way to paginate those messages.
    22
    3 I suggest we refactor that part of the class to not cache the messages but to set a default number of messages, like 10, and add a parameter to paginate those messa
     3I suggest we refactor that part of the class to not cache the messages but to set a default number of messages, like 10, and add a parameter to paginate the rest of the messages.