Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/10/2011 06:32:02 AM (14 years ago)
Author:
djpaul
Message:

Tidy up whitespace. Fixes #3466, props cnorris23

File:
1 edited

Legend:

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

    r4844 r4961  
    509509        if ( isset( $_POST['save'] ) ) {
    510510            $enable_forum   = ( isset($_POST['group-show-forum'] ) ) ? 1 : 0;
    511            
     511
    512512            // Checked against a whitelist for security
    513513            $allowed_status = apply_filters( 'groups_allowed_status', array( 'public', 'private', 'hidden' ) );
    514514            $status         = ( in_array( $_POST['group-status'], (array)$allowed_status ) ) ? $_POST['group-status'] : 'public';
    515            
     515
    516516            // Checked against a whitelist for security
    517517            $allowed_invite_status = apply_filters( 'groups_allowed_invite_status', array( 'members', 'mods', 'admins' ) );
     
    615615                $user_id = bp_action_variable( 3 );
    616616                $status  = bp_action_variable( 2 );
    617                
     617
    618618                // Check the nonce first.
    619619                if ( !check_admin_referer( 'groups_promote_member' ) )
     
    653653            if ( bp_is_action_variable( 'ban', 1 ) && is_numeric( bp_action_variable( 2 ) ) ) {
    654654                $user_id = bp_action_variable( 2 );
    655                
     655
    656656                // Check the nonce first.
    657657                if ( !check_admin_referer( 'groups_ban_member' ) )
     
    671671            if ( bp_is_action_variable( 'unban', 1 ) && is_numeric( bp_action_variable( 2 ) ) ) {
    672672                $user_id = bp_action_variable( 2 );
    673                
     673
    674674                // Check the nonce first.
    675675                if ( !check_admin_referer( 'groups_unban_member' ) )
     
    689689            if ( bp_is_action_variable( 'remove', 1 ) && is_numeric( bp_action_variable( 2 ) ) ) {
    690690                $user_id = bp_action_variable( 2 );
    691                
     691
    692692                // Check the nonce first.
    693693                if ( !check_admin_referer( 'groups_remove_member' ) )
Note: See TracChangeset for help on using the changeset viewer.