[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:16:53 UTC 2014


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

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7939"]:
 {{{
 #!CommitTicketReference repository="" revision="7939"
 Don't query for group extras if user is not logged in

 Saves a couple needless database queries for unauthenticated users.

 Fixes #5416

 Props lenasterg for initial patch
 }}}

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


More information about the buddypress-trac mailing list