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/core/template-functions.php

    r5829 r5908  
    322322    // Sort
    323323    if ( ! isset( $merged_filters[ $tag ] ) ) {
    324         ksort( $wp_filter[$tag] );
     324        ksort( $wp_filter[ $tag ] );
    325325        $merged_filters[ $tag ] = true;
    326326    }
     
    331331    // Loop through 'bbp_template_stack' filters, and call callback functions
    332332    do {
    333         foreach ( (array) current( $wp_filter[$tag] ) as $the_ ) {
     333        foreach ( (array) current( $wp_filter[ $tag ] ) as $the_ ) {
    334334            if ( ! is_null( $the_['function'] ) ) {
    335335                $args[1] = $stack;
     
    337337            }
    338338        }
    339     } while ( next( $wp_filter[$tag] ) !== false );
     339    } while ( next( $wp_filter[ $tag ] ) !== false );
    340340
    341341    // Remove 'bbp_template_stack' from the current filter array
Note: See TracChangeset for help on using the changeset viewer.