Make WordPress Core


Ignore:
Timestamp:
06/14/2007 02:25:30 AM (17 years ago)
Author:
ryan
Message:

Trim empty lines. Nothing but newline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r5693 r5700  
    187187        'name' => 'cat', 'class' => 'postform'
    188188    );
    189    
     189
    190190    $defaults['selected'] = ( is_category() ) ? get_query_var('cat') : 0;
    191    
     191
    192192    $r = wp_parse_args( $args, $defaults );
    193193    $r['include_last_update_time'] = $r['show_last_update'];
     
    237237        'hierarchical' => true, 'title_li' => __('Categories')
    238238    );
    239    
     239
    240240    $r = wp_parse_args( $args, $defaults );
    241    
     241
    242242    if ( !isset( $r['pad_counts'] ) && $r['show_count'] && $r['hierarchical'] ) {
    243243        $r['pad_counts'] = true;
    244244    }
    245    
     245
    246246    if ( isset( $r['show_date'] ) ) {
    247247        $r['include_last_update_time'] = $r['show_date'];
    248248    }
    249    
     249
    250250    extract( $r );
    251    
     251
    252252    $categories = get_categories($r);
    253253
     
    263263    } else {
    264264        global $wp_query;
    265        
     265
    266266        if( !empty($show_option_all) )
    267267            if ('list' == $style ) 
     
    269269            else
    270270                $output .= '<a href="' .  get_bloginfo('url')  . '">' . $show_option_all . '</a>';
    271        
     271
    272272        if ( is_category() )
    273273            $r['current_category'] = $wp_query->get_queried_object_id();
     
    410410function get_the_tags( $id = 0 ) {
    411411    global $post;
    412  
     412
    413413    $id = (int) $id;
    414414
    415415    if ( ! $id && ! in_the_loop() )
    416416        return false; // in-the-loop function
    417  
     417
    418418    if ( !$id )
    419419        $id = (int) $post->ID;
     
    434434    if ( empty( $tags ) )
    435435        return false;
    436    
     436
    437437    $tag_list = $before;
    438438    foreach ( $tags as $tag )
Note: See TracChangeset for help on using the changeset viewer.