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-members/bp-members-functions.php

    r13871 r13878  
    21022102                        $profile_field_ids = explode( ',', $user['meta']['profile_field_ids'] );
    21032103
    2104                         foreach( (array) $profile_field_ids as $field_id ) {
     2104                        foreach ( (array) $profile_field_ids as $field_id ) {
    21052105                                $current_field = isset( $user['meta']["field_{$field_id}"] ) ? $user['meta']["field_{$field_id}"] : false;
    21062106
Note: See TracChangeset for help on using the changeset viewer.