[buddypress-trac] [BuddyPress] #2731: BP_Group_Extension is fatally broken

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Nov 10 20:16:55 UTC 2010


#2731: BP_Group_Extension is fatally broken
---------------------+------------------------------------------------------
 Reporter:  dwenaus  |       Owner:     
     Type:  defect   |      Status:  new
 Priority:  normal   |   Milestone:  1.3
Component:  Groups   |     Version:  1.3
 Keywords:           |  
---------------------+------------------------------------------------------
 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.

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


More information about the buddypress-trac mailing list