Make WordPress Core


Ignore:
Timestamp:
08/09/2008 05:36:14 AM (17 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

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

    r8572 r8600  
    430430        call_user_func_array(array(&$this, 'start_el'), $cb_args);
    431431
    432         $id = $element->$id_field; 
    433        
     432        $id = $element->$id_field;
     433
    434434        // descend only the depth is right and there are chilrens for this element
    435         if ( ($max_depth == 0 || $max_depth > $depth+1 ) && isset( $children_elements[$id]) ) { 
     435        if ( ($max_depth == 0 || $max_depth > $depth+1 ) && isset( $children_elements[$id]) ) {
    436436
    437437            foreach( $children_elements[ $id ] as $child ){
    438                
     438
    439439                if ( !isset($newlevel) ) {
    440440                    $newlevel = true;
     
    445445                $this->display_element( $child, $children_elements, $max_depth, $depth + 1, $args, $output );
    446446            }
    447             unset( $children_elements[ $id ] ); 
     447            unset( $children_elements[ $id ] );
    448448        }
    449449
     
    491491         * need to display in hierarchical order
    492492         * seperate elements into two buckets: top level and children elements
    493          * children_elements is two dimensional array, eg. 
    494          * children_elements[10][] contains all sub-elements whose parent is 10. 
     493         * children_elements is two dimensional array, eg.
     494         * children_elements[10][] contains all sub-elements whose parent is 10.
    495495         */
    496496        $top_level_elements = array();
     
    510510
    511511            $root = $elements[0];
    512            
     512
    513513            $top_level_elements = array();
    514514            $children_elements  = array();
     
    534534                    $this->display_element( $op, $empty_array, 1, 0, $args, $output );
    535535         }
    536          
     536
    537537         return $output;
    538538    }
Note: See TracChangeset for help on using the changeset viewer.