[buddypress-trac] [BuddyPress] #2430: xprofile_setup_nav is greedy

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Jun 7 17:22:44 UTC 2010


#2430: xprofile_setup_nav is greedy
--------------------+-------------------------------------------------------
 Reporter:  DJPaul  |       Owner:       
     Type:  defect  |      Status:  new  
 Priority:  normal  |   Milestone:  1.2.5
Component:  Groups  |    Keywords:       
--------------------+-------------------------------------------------------
 xprofile_setup_nav() is greedy. If, in a custom component,
 $bp->current_action matches one of your items, and the slug shares a name
 with that of a Group, you get an extra database query as it retrieves the
 Group details. It also adds the Groups' "Admin Options" to the buddybar.

 Patch included, against the 1.2 branch.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2430>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list