Make WordPress Core


Ignore:
Timestamp:
12/09/2008 06:03:31 PM (18 years ago)
Author:
ryan
Message:

Strip trailing whitespace

File:
1 edited

Legend:

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

    r9952 r10150  
    305305        else
    306306                return false;
    307        
     307
    308308}
    309309
    … …  
    433433 * categories.
    434434 *     'order' (string) default is 'ASC' - What direction to order categories.
    435  *     'show_last_update' (bool|int) default is 0 - See {@link 
     435 *     'show_last_update' (bool|int) default is 0 - See {@link
    436436 * walk_category_dropdown_tree()}
    437437 *     'show_count' (bool|int) default is 0 - Whether to show how many posts are
    … …  
    616616 * The 'topic_count_text_callback' argument is a function, which given the count
    617617 * of the posts  with that tag returns a text for the tooltip of the tag link.
    618  * @see default_topic_count_text 
    619  * 
     618 * @see default_topic_count_text
     619 *
    620620 *
    621621 * @todo Complete functionality.
    … …  
    633633                'topic_count_text_callback' => 'default_topic_count_text',
    634634        );
    635        
     635
    636636        if ( !isset( $args['topic_count_text_callback'] ) && isset( $args['single_text'] ) && isset( $args['multiple_text'] ) ) {
    637                 $body = 'return sprintf ( 
     637                $body = 'return sprintf (
    638638                        __ngettext('.var_export($args['single_text'], true).', '.var_export($args['multiple_text'], true).', $count),
    639639                        number_format_i18n( $count ));';
    640640                $args['topic_count_text_callback'] = create_function('$count', $body);
    641641        }
    642        
     642
    643643        $args = wp_parse_args( $args, $defaults );
    644                
     644
    645645        extract( $args );
    646646
Note: See TracChangeset for help on using the changeset viewer.