Skip to:
Content

BuddyPress.org

Changeset 1137


Ignore:
Timestamp:
02/24/2009 10:50:01 PM (16 years ago)
Author:
apeatling
Message:

Fixes #482

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-templatetags.php

    r1069 r1137  
    11781178            }
    11791179        break;
     1180       
     1181        case 'hidden':
     1182            if ( BP_Groups_Member::check_is_member( $bp->loggedin_user->id, $group->id ) ) {
     1183                echo '<a class="leave-group" href="' . wp_nonce_url( bp_group_permalink( $group, false ) . '/leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';                     
     1184            } 
     1185        break;
    11801186    }
    11811187   
Note: See TracChangeset for help on using the changeset viewer.