[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 09:53:20 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:  Awaiting Review
Component:  Groups       |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 The get_group_extras() in groups-classes.php actually check the paged
 groups in relation to logged-in user.
 So, for non login users it could save 2 db queries if there was a check if
 a user is logged in or not.

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


More information about the buddypress-trac mailing list