Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/12/2011 02:39:11 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Audit the usage of $bp->groups->slug. See #3325.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-actions.php

    r4647 r4648  
    282282    global $bp, $wp_query;
    283283
    284     if ( !bp_is_active( 'groups' ) || !bp_is_current_component( 'activity' ) || !bp_is_user() || !bp_is_current_action( $bp->groups->slug ) || !isset( $bp->action_variables[0] ) || $bp->action_variables[0] != 'feed' )
     284    if ( !bp_is_active( 'groups' ) || !bp_is_current_component( 'activity' ) || !bp_is_user() || !bp_is_current_action( bp_get_groups_slug() ) || !isset( $bp->action_variables[0] ) || $bp->action_variables[0] != 'feed' )
    285285        return false;
    286286
Note: See TracChangeset for help on using the changeset viewer.