Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2024 04:26:18 PM (2 years ago)
Author:
espellcaste
Message:

WPCS: The modified code addresses all Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword and Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction issues specific to the foreach and function examples.

See #7228

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/screens/single/send-invites.php

    r13762 r13878  
    3030
    3131                if ( ! empty( $_POST['friends'] ) ) {
    32                         foreach( (array) $_POST['friends'] as $friend ) {
     32                        foreach ( (array) $_POST['friends'] as $friend ) {
    3333                                groups_invite_user( array( 'user_id' => $friend, 'group_id' => $bp->groups->current_group->id ) );
    3434                        }
Note: See TracChangeset for help on using the changeset viewer.