Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2024 04:26:18 PM (20 months 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-template-loader.php

    r13867 r13878  
    363363    // Loop through 'bp_template_stack' filters, and call callback functions.
    364364    do {
    365         foreach( (array) current( $filter ) as $the_ ) {
     365        foreach ( (array) current( $filter ) as $the_ ) {
    366366            if ( ! is_null( $the_['function'] ) ) {
    367367                $args[1] = $stack;
Note: See TracChangeset for help on using the changeset viewer.