Skip to:
Content

BuddyPress.org

Changeset 4648


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

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

Location:
trunk
Files:
12 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
  • trunk/bp-activity/bp-activity-loader.php

    r4647 r4648  
    165165            $sub_nav[] = array(
    166166                'name'            => __( 'Groups', 'buddypress' ),
    167                 'slug'            => $bp->groups->slug,
     167                'slug'            => bp_get_groups_slug(),
    168168                'parent_url'      => $activity_link,
    169169                'parent_slug'     => $this->slug,
  • trunk/bp-core/bp-core-template.php

    r4638 r4648  
    10221022    global $bp;
    10231023
    1024     if ( bp_is_current_component( 'groups' ) && isset( $bp->groups->current_group ) && $bp->groups->current_group )
     1024    if ( bp_is_groups_component() && isset( $bp->groups->current_group ) && $bp->groups->current_group )
    10251025        return true;
    10261026
     
    10311031    global $bp;
    10321032
    1033     if ( bp_is_single_item() && bp_is_current_component( 'groups' ) && ( !bp_current_action() || bp_is_current_action( 'home' ) ) )
     1033    if ( bp_is_single_item() && bp_is_groups_component() && ( !bp_current_action() || bp_is_current_action( 'home' ) ) )
    10341034        return true;
    10351035
     
    10401040    global $bp;
    10411041
    1042     if ( bp_is_current_component( 'groups' ) && bp_is_current_action( 'create' ) )
     1042    if ( bp_is_groups_component() && bp_is_current_action( 'create' ) )
    10431043        return true;
    10441044
     
    10491049    global $bp;
    10501050
    1051     if ( bp_is_single_item() && bp_is_current_component( 'groups' ) && bp_is_current_action( 'admin' ) )
     1051    if ( bp_is_single_item() && bp_is_groups_component() && bp_is_current_action( 'admin' ) )
    10521052        return true;
    10531053
     
    10581058    global $bp;
    10591059
    1060     if ( bp_is_single_item() && bp_is_current_component( 'groups' ) && bp_is_current_action( 'forum' ) )
     1060    if ( bp_is_single_item() && bp_is_groups_component() && bp_is_current_action( 'forum' ) )
    10611061        return true;
    10621062
     
    10671067    global $bp;
    10681068
    1069     if ( bp_is_single_item() && bp_is_current_component( 'groups' ) && bp_is_current_action( 'activity' ) )
     1069    if ( bp_is_single_item() && bp_is_groups_component() && bp_is_current_action( 'activity' ) )
    10701070        return true;
    10711071
     
    10761076    global $bp;
    10771077
    1078     if ( bp_is_single_item() && bp_is_current_component( 'groups' ) && bp_is_current_action( 'forum' ) && isset( $bp->action_variables[0] ) && 'topic' == $bp->action_variables[0] )
     1078    if ( bp_is_single_item() && bp_is_groups_component() && bp_is_current_action( 'forum' ) && isset( $bp->action_variables[0] ) && 'topic' == $bp->action_variables[0] )
    10791079        return true;
    10801080
     
    10851085    global $bp;
    10861086
    1087     if ( bp_is_single_item() && bp_is_current_component( 'groups' ) && bp_is_current_action( 'forum' ) && isset( $bp->action_variables[0] ) && 'topic' == $bp->action_variables[0] && isset( $bp->action_variables[2] ) && 'edit' == $bp->action_variables[2] )
     1087    if ( bp_is_single_item() && bp_is_groups_component() && bp_is_current_action( 'forum' ) && isset( $bp->action_variables[0] ) && 'topic' == $bp->action_variables[0] && isset( $bp->action_variables[2] ) && 'edit' == $bp->action_variables[2] )
    10881088        return true;
    10891089
     
    10941094    global $bp;
    10951095
    1096     if ( bp_is_single_item() && bp_is_current_component( 'groups' ) && bp_is_current_action( 'members' ) )
     1096    if ( bp_is_single_item() && bp_is_groups_component() && bp_is_current_action( 'members' ) )
    10971097        return true;
    10981098
     
    11031103    global $bp;
    11041104
    1105     if ( bp_is_current_component( 'groups' ) && bp_is_current_action( 'send-invites' ) )
     1105    if ( bp_is_groups_component() && bp_is_current_action( 'send-invites' ) )
    11061106        return true;
    11071107
     
    11121112    global $bp;
    11131113
    1114     if ( bp_is_current_component( 'groups' ) && bp_is_current_action( 'request-membership' ) )
     1114    if ( bp_is_groups_component() && bp_is_current_action( 'request-membership' ) )
    11151115        return true;
    11161116
     
    11211121    global $bp;
    11221122
    1123     if ( bp_is_current_component( 'groups' ) && bp_is_single_item() && bp_is_current_action( 'leave-group' ) )
     1123    if ( bp_is_groups_component() && bp_is_single_item() && bp_is_current_action( 'leave-group' ) )
    11241124        return true;
    11251125
     
    11301130    global $bp;
    11311131
    1132     if ( bp_is_current_component( 'groups' ) && bp_is_single_item() )
     1132    if ( bp_is_groups_component() && bp_is_single_item() )
    11331133        return true;
    11341134
  • trunk/bp-forums/bp-forums-template.php

    r4301 r4648  
    931931
    932932        // Current topic forum_id needs to match current_group forum_id
    933         if ( bp_is_current_component( 'groups' ) && $topic_template->forum_id != groups_get_groupmeta( $bp->groups->current_group->id, 'forum_id' ) )
     933        if ( bp_is_groups_component() && $topic_template->forum_id != groups_get_groupmeta( $bp->groups->current_group->id, 'forum_id' ) )
    934934            return false;
    935935    }
  • trunk/bp-groups/bp-groups-actions.php

    r4524 r4648  
    1414
    1515    // If we're not at domain.org/groups/create/ then return false
    16     if ( !bp_is_current_component( 'groups' ) || !bp_is_current_action( 'create' ) )
     16    if ( !bp_is_groups_component() || !bp_is_current_action( 'create' ) )
    1717        return false;
    1818
     
    199199    global $bp;
    200200
    201     if ( !bp_is_single_item() || !bp_is_current_component( 'groups' ) || !bp_is_current_action( 'join' ) )
     201    if ( !bp_is_single_item() || !bp_is_groups_component() || !bp_is_current_action( 'join' ) )
    202202        return false;
    203203
     
    234234    global $bp;
    235235
    236     if ( !bp_is_single_item() || !bp_is_current_component( 'groups' ) || !bp_is_current_action( 'leave-group' ) )
     236    if ( !bp_is_single_item() || !bp_is_groups_component() || !bp_is_current_action( 'leave-group' ) )
    237237        return false;
    238238
     
    259259    global $bp;
    260260
    261     if ( !bp_is_current_component( 'groups' ) || !bp_is_current_action( 'create' ) )
     261    if ( !bp_is_groups_component() || !bp_is_current_action( 'create' ) )
    262262        return false;
    263263
     
    283283    global $bp, $wpdb;
    284284
    285     if ( bp_is_current_component( $bp->groups->slug ) && isset( $_GET['random-group'] ) ) {
     285    if ( bp_is_groups_component() && isset( $_GET['random-group'] ) ) {
    286286        $group = groups_get_groups( array( 'type' => 'random', 'per_page' => 1 ) );
    287287
    288         bp_core_redirect( bp_get_root_domain() . '/' . $bp->groups->slug . '/' . $group['groups'][0]->slug . '/' );
     288        bp_core_redirect( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/' . $group['groups'][0]->slug . '/' );
    289289    }
    290290}
     
    294294    global $bp, $wp_query;
    295295
    296     if ( !bp_is_active( 'activity' ) || !bp_is_current_component( 'groups' ) || !isset( $bp->groups->current_group ) || !bp_is_current_action( 'feed' ) )
     296    if ( !bp_is_active( 'activity' ) || !bp_is_groups_component() || !isset( $bp->groups->current_group ) || !bp_is_current_action( 'feed' ) )
    297297        return false;
    298298
  • trunk/bp-groups/bp-groups-classes.php

    r4618 r4648  
    11801180        if ( $this->visibility == 'public' || ( $this->visibility != 'public' && $bp->groups->current_group->user_has_access ) ) {
    11811181            if ( $this->enable_nav_item ) {
    1182                 if ( bp_is_current_component( 'groups' ) && $bp->is_single_item ) {
     1182                if ( bp_is_groups_component() && $bp->is_single_item ) {
    11831183                    bp_core_new_subnav_item( array( 'name' => ( !$this->nav_item_name ) ? $this->name : $this->nav_item_name, 'slug' => $this->slug, 'parent_slug' => $bp->groups->current_group->slug, 'parent_url' => bp_get_group_permalink( $bp->groups->current_group ), 'position' => $this->nav_item_position, 'item_css_id' => 'nav-' . $this->slug, 'screen_function' => array( &$this, '_display_hook' ), 'user_has_access' => $this->enable_nav_item ) );
    11841184                }
    11851185
    11861186                // When we are viewing the extension display page, set the title and options title
    1187                 if ( bp_is_current_component( 'groups' ) && $bp->is_single_item && $bp->current_action == $this->slug ) {
     1187                if ( bp_is_groups_component() && $bp->is_single_item && $bp->current_action == $this->slug ) {
    11881188                    add_action( 'bp_template_content_header', create_function( '', 'echo "' . esc_attr( $this->name ) . '";' ) );
    11891189                    add_action( 'bp_template_title', create_function( '', 'echo "' . esc_attr( $this->name ) . '";' ) );
     
    11921192
    11931193            // Hook the group home widget
    1194             if ( bp_is_current_component( 'groups' ) && $bp->is_single_item && ( !$bp->current_action || 'home' == $bp->current_action ) )
     1194            if ( bp_is_groups_component() && $bp->is_single_item && ( !$bp->current_action || 'home' == $bp->current_action ) )
    11951195                add_action( $this->display_hook, array( &$this, 'widget_display' ) );
    11961196        }
     
    12011201
    12021202            // Catch the edit screen and forward it to the plugin template
    1203             if ( bp_is_current_component( 'groups' ) && bp_is_current_action( 'admin' ) && !empty( $bp->action_variables[0] ) && $this->slug == $bp->action_variables[0] ) {
     1203            if ( bp_is_groups_component() && bp_is_current_action( 'admin' ) && !empty( $bp->action_variables[0] ) && $this->slug == $bp->action_variables[0] ) {
    12041204                // Check whether the user is saving changes
    12051205                $this->edit_screen_save();
  • trunk/bp-groups/bp-groups-functions.php

    r4632 r4648  
    198198
    199199    // Remove all notifications for any user belonging to this group
    200     bp_core_delete_all_notifications_by_type( $group_id, $bp->groups->slug );
     200    bp_core_delete_all_notifications_by_type( $group_id, $bp->groups->id );
    201201
    202202    // Remove forum if component is active and current group has one
  • trunk/bp-groups/bp-groups-notifications.php

    r4638 r4648  
    218218        $settings_link = bp_core_get_user_domain( $invited_user_id ) . bp_get_settings_slug() . '/notifications/';
    219219        $invited_link = bp_core_get_user_domain( $invited_user_id );
    220         $invites_link = $invited_link . $bp->groups->slug . '/invites';
     220        $invites_link = $invited_link . bp_get_groups_slug() . '/invites';
    221221
    222222        // Set up and send the message
  • trunk/bp-groups/bp-groups-screens.php

    r4646 r4648  
    454454    global $bp;
    455455
    456     if ( !bp_is_current_component( 'groups' ) || !bp_is_current_action( 'admin' ) )
     456    if ( !bp_is_groups_component() || !bp_is_current_action( 'admin' ) )
    457457        return false;
    458458
     
    466466    global $bp;
    467467
    468     if ( bp_is_current_component( 'groups' ) && isset( $bp->action_variables[0] ) && 'edit-details' == $bp->action_variables[0] ) {
     468    if ( bp_is_groups_component() && isset( $bp->action_variables[0] ) && 'edit-details' == $bp->action_variables[0] ) {
    469469
    470470        if ( $bp->is_item_admin || $bp->is_item_mod  ) {
     
    498498    global $bp;
    499499
    500     if ( bp_is_current_component( 'groups' ) && isset( $bp->action_variables[0] ) && 'group-settings' == $bp->action_variables[0] ) {
     500    if ( bp_is_groups_component() && isset( $bp->action_variables[0] ) && 'group-settings' == $bp->action_variables[0] ) {
    501501
    502502        if ( !$bp->is_item_admin )
     
    540540    global $bp;
    541541
    542     if ( bp_is_current_component( 'groups' ) && isset( $bp->action_variables[0] ) && 'group-avatar' == $bp->action_variables[0] ) {
     542    if ( bp_is_groups_component() && isset( $bp->action_variables[0] ) && 'group-avatar' == $bp->action_variables[0] ) {
    543543
    544544        if ( !$bp->is_item_admin )
     
    598598    global $bp;
    599599
    600     if ( bp_is_current_component( 'groups' ) && isset( $bp->action_variables[0] ) && 'manage-members' == $bp->action_variables[0] ) {
     600    if ( bp_is_groups_component() && isset( $bp->action_variables[0] ) && 'manage-members' == $bp->action_variables[0] ) {
    601601
    602602        if ( !$bp->is_item_admin )
     
    708708    global $bp;
    709709
    710     if ( bp_is_current_component( 'groups' ) && isset( $bp->action_variables[0] ) && 'membership-requests' == $bp->action_variables[0] ) {
     710    if ( bp_is_groups_component() && isset( $bp->action_variables[0] ) && 'membership-requests' == $bp->action_variables[0] ) {
    711711
    712712        // Ask for a login if the user is coming here via an email notification
     
    761761    global $bp;
    762762
    763     if ( bp_is_current_component( 'groups' ) && isset( $bp->action_variables[0] ) && 'delete-group' == $bp->action_variables[0] ) {
     763    if ( bp_is_groups_component() && isset( $bp->action_variables[0] ) && 'delete-group' == $bp->action_variables[0] ) {
    764764
    765765        if ( !$bp->is_item_admin && !is_super_admin() )
     
    781781                do_action( 'groups_group_deleted', $bp->groups->current_group->id );
    782782
    783                 bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . '/' );
     783                bp_core_redirect( $bp->loggedin_user->domain . bp_get_groups_slug() . '/' );
    784784            }
    785785
  • trunk/bp-groups/bp-groups-template.php

    r4646 r4648  
    654654    global $groups_template, $bp;
    655655
    656     $action = $bp->displayed_user->domain . $bp->groups->slug . '/my-groups/search/';
     656    $action = $bp->displayed_user->domain . bp_get_groups_slug() . '/my-groups/search/';
    657657    $label = __('Filter Groups', 'buddypress');
    658658    $name = 'group-filter-box';
     
    679679function bp_group_is_activity_permalink() {
    680680
    681     if ( !bp_is_single_item() || !bp_is_current_component( 'groups' ) || !bp_is_current_action( bp_get_activity_slug() ) )
     681    if ( !bp_is_single_item() || !bp_is_groups_component() || !bp_is_current_action( bp_get_activity_slug() ) )
    682682        return false;
    683683
     
    13771377            $group =& $groups_template->group;
    13781378
    1379         return apply_filters( 'bp_get_group_accept_invite_link', wp_nonce_url( $bp->loggedin_user->domain . $bp->groups->slug . '/invites/accept/' . $group->id, 'groups_accept_invite' ) );
     1379        return apply_filters( 'bp_get_group_accept_invite_link', wp_nonce_url( $bp->loggedin_user->domain . bp_get_groups_slug() . '/invites/accept/' . $group->id, 'groups_accept_invite' ) );
    13801380    }
    13811381
     
    13891389            $group =& $groups_template->group;
    13901390
    1391         return apply_filters( 'bp_get_group_reject_invite_link', wp_nonce_url( $bp->loggedin_user->domain . $bp->groups->slug . '/invites/reject/' . $group->id, 'groups_reject_invite' ) );
     1391        return apply_filters( 'bp_get_group_reject_invite_link', wp_nonce_url( $bp->loggedin_user->domain . bp_get_groups_slug() . '/invites/reject/' . $group->id, 'groups_reject_invite' ) );
    13921392    }
    13931393
     
    19961996
    19971997    /* Make sure we are in the groups component */
    1998     if ( !bp_is_current_component( 'groups' ) || !bp_is_current_action( 'create' ) )
     1998    if ( !bp_is_groups_component() || !bp_is_current_action( 'create' ) )
    19991999        return false;
    20002000
     
    21522152        }
    21532153
    2154         return apply_filters( 'bp_get_group_creation_previous_link', $bp->loggedin_user->domain . $bp->groups->slug . '/create/step/' . array_pop( $previous_steps ) );
     2154        return apply_filters( 'bp_get_group_creation_previous_link', $bp->loggedin_user->domain . bp_get_groups_slug() . '/create/step/' . array_pop( $previous_steps ) );
    21552155    }
    21562156
     
    22352235    global $bp, $create_group_step, $completed_to_step;
    22362236?>
    2237     <li<?php if ( !isset($bp->action_variables[0]) || 'recently-active' == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . $bp->groups->slug ?>/my-groups/recently-active"><?php _e( 'Recently Active', 'buddypress' ) ?></a></li>
    2238     <li<?php if ( 'recently-joined' == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . $bp->groups->slug ?>/my-groups/recently-joined"><?php _e( 'Recently Joined', 'buddypress' ) ?></a></li>
    2239     <li<?php if ( 'most-popular' == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . $bp->groups->slug ?>/my-groups/most-popular"><?php _e( 'Most Popular', 'buddypress' ) ?></a></li>
    2240     <li<?php if ( 'admin-of' == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . $bp->groups->slug ?>/my-groups/admin-of"><?php _e( 'Administrator Of', 'buddypress' ) ?></a></li>
    2241     <li<?php if ( 'mod-of' == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . $bp->groups->slug ?>/my-groups/mod-of"><?php _e( 'Moderator Of', 'buddypress' ) ?></a></li>
    2242     <li<?php if ( 'alphabetically' == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . $bp->groups->slug ?>/my-groups/alphabetically"><?php _e( 'Alphabetically', 'buddypress' ) ?></a></li>
     2237    <li<?php if ( !isset($bp->action_variables[0]) || 'recently-active' == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . bp_get_groups_slug() ?>/my-groups/recently-active"><?php _e( 'Recently Active', 'buddypress' ) ?></a></li>
     2238    <li<?php if ( 'recently-joined' == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . bp_get_groups_slug() ?>/my-groups/recently-joined"><?php _e( 'Recently Joined', 'buddypress' ) ?></a></li>
     2239    <li<?php if ( 'most-popular'    == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . bp_get_groups_slug() ?>/my-groups/most-popular"><?php _e( 'Most Popular', 'buddypress' ) ?></a></li>
     2240    <li<?php if ( 'admin-of'        == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . bp_get_groups_slug() ?>/my-groups/admin-of"><?php _e( 'Administrator Of', 'buddypress' ) ?></a></li>
     2241    <li<?php if ( 'mod-of'          == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . bp_get_groups_slug() ?>/my-groups/mod-of"><?php _e( 'Moderator Of', 'buddypress' ) ?></a></li>
     2242    <li<?php if ( 'alphabetically'  == $bp->action_variables[0] ) : ?> class="current"<?php endif; ?>><a href="<?php echo $bp->displayed_user->domain . bp_get_groups_slug() ?>/my-groups/alphabetically"><?php _e( 'Alphabetically', 'buddypress' ) ?></a></li>
    22432243<?php
    22442244    do_action( 'groups_header_tabs' );
     
    22762276    global $bp;
    22772277
    2278     if ( !bp_is_current_component( 'groups' ) || !bp_is_current_action( 'admin' ) )
     2278    if ( !bp_is_groups_component() || !bp_is_current_action( 'admin' ) )
    22792279        return false;
    22802280
  • trunk/bp-groups/bp-groups-widgets.php

    r4211 r4648  
    4646        <?php if ( bp_has_groups( 'user_id=' . $user_id . '&type=' . $instance['group_default'] . '&max=' . $instance['max_groups'] ) ) : ?>
    4747            <div class="item-options" id="groups-list-options">
    48                 <a href="<?php echo site_url() . '/' . $bp->groups->slug ?>" id="newest-groups"<?php if ( $instance['group_default'] == 'newest' ) : ?> class="selected"<?php endif; ?>><?php _e("Newest", 'buddypress') ?></a> |
    49                 <a href="<?php echo site_url() . '/' . $bp->groups->slug ?>" id="recently-active-groups"<?php if ( $instance['group_default'] == 'active' ) : ?> class="selected"<?php endif; ?>><?php _e("Active", 'buddypress') ?></a> |
    50                 <a href="<?php echo site_url() . '/' . $bp->groups->slug ?>" id="popular-groups" <?php if ( $instance['group_default'] == 'popular' ) : ?> class="selected"<?php endif; ?>><?php _e("Popular", 'buddypress') ?></a>
     48                <a href="<?php echo site_url( bp_get_groups_root_slug() ); ?>" id="newest-groups"<?php if ( $instance['group_default'] == 'newest' ) : ?> class="selected"<?php endif; ?>><?php _e("Newest", 'buddypress') ?></a> |
     49                <a href="<?php echo site_url( bp_get_groups_root_slug() ); ?>" id="recently-active-groups"<?php if ( $instance['group_default'] == 'active' ) : ?> class="selected"<?php endif; ?>><?php _e("Active", 'buddypress') ?></a> |
     50                <a href="<?php echo site_url( bp_get_groups_root_slug() ); ?>" id="popular-groups" <?php if ( $instance['group_default'] == 'popular' ) : ?> class="selected"<?php endif; ?>><?php _e("Popular", 'buddypress') ?></a>
    5151                <span class="ajax-loader" id="ajax-loader-groups"></span>
    5252            </div>
  • trunk/bp-themes/bp-default/_inc/ajax.php

    r4647 r4648  
    385385        echo '<span class="activity">' . esc_attr( $user->last_active ) . '</span>';
    386386        echo '<div class="action">
    387                 <a class="button remove" href="' . wp_nonce_url( $bp->loggedin_user->domain . $bp->groups->slug . '/' . $_POST['group_id'] . '/invites/remove/' . $user->id, 'groups_invite_uninvite_user' ) . '" id="uid-' . esc_attr( $user->id ) . '">' . __( 'Remove Invite', 'buddypress' ) . '</a>
     387                <a class="button remove" href="' . wp_nonce_url( $bp->loggedin_user->domain . bp_get_groups_slug() . '/' . $_POST['group_id'] . '/invites/remove/' . $user->id, 'groups_invite_uninvite_user' ) . '" id="uid-' . esc_attr( $user->id ) . '">' . __( 'Remove Invite', 'buddypress' ) . '</a>
    388388              </div>';
    389389        echo '</li>';
Note: See TracChangeset for help on using the changeset viewer.