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-core/bp-core-customizer-email.php

    r11904 r13878  
    2929
    3030        $sections = bp_email_get_customizer_sections();
    31         foreach( $sections as $section_id => $args ) {
     31        foreach ( $sections as $section_id => $args ) {
    3232                $wp_customize->add_section( $section_id, $args );
    3333        }
    3434
    3535        $settings = bp_email_get_customizer_settings();
    36         foreach( $settings as $setting_id => $args ) {
     36        foreach ( $settings as $setting_id => $args ) {
    3737                $wp_customize->add_setting( $setting_id, $args );
    3838        }
Note: See TracChangeset for help on using the changeset viewer.