Make WordPress Core


Ignore:
Timestamp:
03/17/2010 04:27:25 PM (15 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

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

    r13725 r13733  
    225225 *
    226226 * If no taxonomy argument is set, returns true if any taxonomy is queried.
    227  * If the taxonomy argument is passed but no term argument, returns true 
     227 * If the taxonomy argument is passed but no term argument, returns true
    228228 *    if the taxonomy or taxonomies in the argument are being queried.
    229  * If both taxonomy and term arguments are passed, returns true 
     229 * If both taxonomy and term arguments are passed, returns true
    230230 *    if the current query is for a term contained in the terms argument
    231231 *    which has a taxonomy contained in the taxonomy argument.
     
    254254        return isset($queried_object->taxonomy) && count( $tax_array ) && in_array($queried_object->taxonomy, $tax_array);
    255255
    256     return isset($queried_object->term_id) && 
     256    return isset($queried_object->term_id) &&
    257257            count(array_intersect(
    258                 array($queried_object->term_id, $queried_object->name, $queried_object->slug), 
     258                array($queried_object->term_id, $queried_object->name, $queried_object->slug),
    259259                $term_array
    260260            ));
Note: See TracChangeset for help on using the changeset viewer.