[buddypress-trac] [BuddyPress Trac] #6221: messages-loop.php executes BP_Messages_Thread::populate() twice per conversation

buddypress-trac noreply at wordpress.org
Fri Feb 13 17:24:34 UTC 2015


#6221: messages-loop.php executes BP_Messages_Thread::populate() twice per
conversation
-----------------------------------+------------------------------
 Reporter:  wpdennis               |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Component - Messaging  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  dev-feedback           |
-----------------------------------+------------------------------

Comment (by boonebgorges):

 In [changeset:"9482"]:
 {{{
 #!CommitTicketReference repository="" revision="9482"
 Cache the results of `BP_Messages_Thread::get_recipients()`.

 This can save a large number of queries on certain inbox views.

 Props wpdennis.
 See #6221. Fixes #6220.
 }}}

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


More information about the buddypress-trac mailing list