Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/11/2015 08:17:53 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Sniffer: Whitespace around variables in arrays.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/classes.php

    r5829 r5908  
    374374                // If we're at the max depth and the current element still has children, loop over those
    375375                // and display them at this level to prevent them being orphaned to the end of the list.
    376                 if ( ( $max_depth <= (int) $depth + 1 ) && isset( $children_elements[$id] ) ) {
    377                         foreach ( $children_elements[$id] as $child ) {
     376                if ( ( $max_depth <= (int) $depth + 1 ) && isset( $children_elements[ $id ] ) ) {
     377                        foreach ( $children_elements[ $id ] as $child ) {
    378378                                $this->display_element( $child, $children_elements, $max_depth, $depth, $args, $output );
    379379                        }
    380                         unset( $children_elements[$id] );
     380                        unset( $children_elements[ $id ] );
    381381                }
    382382        }
Note: See TracChangeset for help on using the changeset viewer.