Make WordPress Core


Ignore:
Timestamp:
02/27/2007 03:24:54 PM (18 years ago)
Author:
markjaquith
Message:

trailing tabs and whitespace cleanup.

File:
1 edited

Legend:

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

    r4893 r4953  
    415415                    $output = call_user_func_array(array(&$this, 'start_el'), $cb_args);
    416416                }
    417    
     417
    418418                // End the element.
    419419                if ( isset($element->$id_field) && $element->$id_field != 0 ) {
     
    421421                    $output = call_user_func_array(array(&$this, 'end_el'), $cb_args);
    422422                }
    423    
    424                 continue;   
    425             }
    426    
     423
     424                continue;
     425            }
     426
    427427            // Walk the tree.
    428428            if ( !empty($previous_element) && ($element->$parent_field == $previous_element->$id_field) ) {
     
    513513
    514514        $output .= $indent . '<li class="' . $css_class . '"><a href="' . get_page_link($page->ID) . '" title="' . attribute_escape($page->post_title) . '">' . $page->post_title . '</a>';
    515    
     515
    516516        if ( !empty($show_date) ) {
    517517            if ( 'modified' == $show_date )
     
    519519            else
    520520                $time = $page->post_date;
    521    
     521
    522522            $output .= " " . mysql2date($date_format, $time);
    523523        }
     
    525525        return $output;
    526526    }
    527    
     527
    528528    function end_el($output, $page, $depth) {
    529529        $output .= "</li>\n";
     
    614614                $link .= ')';
    615615        }
    616    
     616
    617617        if ( isset($show_count) && $show_count )
    618618            $link .= ' (' . intval($category->category_count) . ')';
    619    
     619
    620620        if ( isset($show_date) && $show_date ) {
    621621            $link .= ' ' . gmdate('Y-m-d', $category->last_update_timestamp);
Note: See TracChangeset for help on using the changeset viewer.