Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/12/2010 11:12:24 AM (15 years ago)
Author:
apeatling
Message:

Fixes #2167

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-groups.php

    r2825 r2833  
    868868
    869869    if ( $bp->current_component == $bp->groups->slug && 'membership-requests' == $bp->action_variables[0] ) {
     870
     871        /* Ask for a login if the user is coming here via an email notification */
     872        if ( !is_user_logged_in() )
     873            bp_core_redirect( site_url( 'wp-login.php?redirect_to=' . $bp->root_domain . '/' . $bp->current_component . '/' . $bp->current_item . '/admin/membership-requests/' ) );
    870874
    871875        if ( !$bp->is_item_admin || 'public' == $bp->groups->current_group->status )
Note: See TracChangeset for help on using the changeset viewer.