[buddypress-trac] [BuddyPress] #3876: custom groups slug backwards compatibility problem (BP_GROUPS_SLUG)

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Dec 21 12:36:03 UTC 2011


#3876: custom groups slug backwards compatibility problem (BP_GROUPS_SLUG)
--------------------------+-----------------------------
 Reporter:  zbacsi        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Groups        |    Version:  1.5.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 In the file [https://buddypress.trac.wordpress.org/browser/trunk/bp-groups
 /bp-groups-loader.php#L67 bp-groups/bp-groups-loader.php] the
 BP_GROUPS_SLUG is defined ignoring the custom groups slug.

 Line 67 should be changed from:
                         define( 'BP_GROUPS_SLUG', $this->id );
 to:
                         define( 'BP_GROUPS_SLUG', isset(
 $bp->pages->groups->slug ) ? $bp->pages->groups->slug : $this->id );

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


More information about the buddypress-trac mailing list