[buddypress-trac] [BuddyPress Trac] #5416: Suggestion for the get_group_extras function - Save two db queries for non logged-in viewers.

buddypress-trac noreply at wordpress.org
Thu Feb 20 15:14:52 UTC 2014


#5416: Suggestion for the get_group_extras function - Save two db queries for non
logged-in viewers.
-------------------------+------------------
 Reporter:  lenasterg    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.0
Component:  Groups       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 2.0


Comment:

 Good find. We can't just bail out of the function as you've suggested (we
 still have to set the `is_invited` etc keys) but you're right that we
 should be able to avoid the queries.

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


More information about the buddypress-trac mailing list