Make WordPress Core


Ignore:
Timestamp:
03/02/2008 08:17:30 PM (16 years ago)
Author:
ryan
Message:

Remove trailing whites.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r7109 r7130  
    417417        $output = call_user_func_array(array(&$this, 'start_el'), $cb_args);
    418418
    419         if ( $max_depth == 0 || 
     419        if ( $max_depth == 0 ||
    420420             ($max_depth != 0 &&  $max_depth > $depth+1 )) { //whether to descend
    421        
     421
    422422            for ( $i = 0; $i < sizeof( $children_elements ); $i++ ) {
    423                
     423
    424424                $child = $children_elements[$i];
    425425                if ( $child->$parent_field == $element->$id_field ) {
    426426
    427427                    if ( !isset($newlevel) ) {
    428                         $newlevel = true; 
     428                        $newlevel = true;
    429429                        //start the child delimiter
    430430                        $cb_args = array_merge( array($output, $depth), $args);
    431431                        $output = call_user_func_array(array(&$this, 'start_lvl'), $cb_args);
    432432                    }
    433                
     433
    434434                    array_splice( $children_elements, $i, 1 );
    435435                    $output = $this->display_element( $child, $children_elements, $max_depth, $depth + 1, $args, $output );
     
    438438            }
    439439        }
    440        
     440
    441441        if ( isset($newlevel) && $newlevel ){
    442442            //end the child delimiter
     
    444444            $output = call_user_func_array(array(&$this, 'end_lvl'), $cb_args);
    445445        }
    446        
     446
    447447        //end this element
    448448        $cb_args = array_merge( array($output, $element, $depth), $args);
Note: See TracChangeset for help on using the changeset viewer.