Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#2731 closed defect (bug) (duplicate)

BP_Group_Extension is fatally broken

Reported by: dwenaus's profile dwenaus Owned by:
Milestone: 1.5 Priority: normal
Severity: Version: 1.5
Component: Groups Keywords:
Cc:

Description

plugins that rely on the group extension API become fatally broken with the latest release.

line 1204 of bp-groups-classes.php

Make sure user has access
if ( !$bp->is_item_admin )

return false;

needs to change because if the user does not have access, then we never get to the next part of the code on line 1222 where the nav item is inserted.

Solution, the if statement should not return false, it should be wrapped around lines 1207 to 1220.

This breaks many active plugins so is a HIGH priority for a quick 1.2.6.1 release.

Change History (1)

#1 @r-a-y
14 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #2730.
See #2701.

Note: See TracTickets for help on using tickets.