Opened 15 years ago
Closed 15 years ago
#2430 closed defect (bug) (fixed)
xprofile_setup_nav is greedy
Reported by: | DJPaul | Owned by: | |
---|---|---|---|
Milestone: | 1.2.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Groups | Keywords: | has-patch |
Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [3029]) Fixes #2430 props paulgibbs