Make WordPress Core


Ignore:
Timestamp:
03/18/2009 02:43:45 AM (17 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

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

    r10803 r10810  
    536536 *
    537537 * exclude_tree - A comma- or space-delimited string of term ids to exclude
    538  * from the return array, along with all of their descendant terms according to 
     538 * from the return array, along with all of their descendant terms according to
    539539 * the primary taxonomy.  If 'include' is non-empty, 'exclude_tree' is ignored.
    540540 *
     
    693693        $excluded_trunks = preg_split('/[\s,]+/',$exclude_tree);
    694694        foreach( (array) $excluded_trunks as $extrunk ) {
    695             $excluded_children = (array) get_terms($taxonomies[0], array('child_of' => intval($extrunk), 'fields' => 'ids'));   
     695            $excluded_children = (array) get_terms($taxonomies[0], array('child_of' => intval($extrunk), 'fields' => 'ids'));
    696696            $excluded_children[] = $extrunk;
    697697            foreach( (array) $excluded_children as $exterm ) {
     
    737737        $where .= ' AND tt.count > 0';
    738738
    739     // don't limit the query results when we have to descend the family tree 
     739    // don't limit the query results when we have to descend the family tree
    740740    if ( ! empty($number) && ! $hierarchical && empty( $child_of ) && '' == $parent ) {
    741741        if( $offset )
Note: See TracChangeset for help on using the changeset viewer.