Changeset 4324 for trunk/bp-groups/bp-groups-screens.php
- Timestamp:
- 05/02/2011 08:55:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-screens.php
r4317 r4324 381 381 if ( !check_admin_referer( 'groups_send_invites', '_wpnonce_send_invites' ) ) 382 382 return false; 383 384 if ( !empty( $_POST['friends'] ) ) { 385 foreach( (array)$_POST['friends'] as $friend ) { 386 groups_invite_user( array( 'user_id' => $friend, 'group_id' => $bp->groups->current_group->id ) ); 387 } 388 } 383 389 384 390 // Send the invites.
Note: See TracChangeset
for help on using the changeset viewer.