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/classes/class-bp-members-admin.php

    r13871 r13878  
    24802480                        ) );
    24812481
    2482                         foreach( $field_groups as $fg ) {
    2483                                 foreach( $fg->fields as $f ) {
     2482                        foreach ( $field_groups as $fg ) {
     2483                                foreach ( $fg->fields as $f ) {
    24842484                                        $fdata[ $f->id ] = $f->name;
    24852485                                }
    … …  
    26382638                        <option value=""><?php esc_html_e( 'Change member type to&hellip;', 'buddypress' ) ?></option>
    26392639
    2640                         <?php foreach( $types as $type ) : ?>
     2640                        <?php foreach ( $types as $type ) : ?>
    26412641
    26422642                                <option value="<?php echo esc_attr( $type->name ); ?>"><?php echo esc_html( $type->labels['singular_name'] ); ?></option>
Note: See TracChangeset for help on using the changeset viewer.