WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2007 11:32:58 PM (13 years ago)
Author:
ryan
Message:

Remove trailing whitespace

File:
1 edited

Legend:

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

    r6025 r6026  
    276276
    277277/*
    278  * Comments loop. 
    279  */ 
    280 
    281 function have_comments() { 
    282     global $wp_query; 
    283     return $wp_query->have_comments(); 
    284 } 
    285 
    286 function the_comment() { 
    287     global $wp_query; 
    288     return $wp_query->the_comment(); 
    289 } 
     278 * Comments loop.
     279 */
     280
     281function have_comments() {
     282    global $wp_query;
     283    return $wp_query->have_comments();
     284}
     285
     286function the_comment() {
     287    global $wp_query;
     288    return $wp_query->the_comment();
     289}
    290290
    291291/*
     
    566566            } else {
    567567                $qv['category__in'] = array_map('intval', $qv['category__in']);
    568                 $this->is_category = true; 
     568                $this->is_category = true;
    569569            }
    570570
     
    579579            } else {
    580580                $qv['category__and'] = array_map('intval', $qv['category__and']);
    581                 $this->is_category = true; 
     581                $this->is_category = true;
    582582            }
    583583
     
    593593            } else {
    594594                $qv['tag__in'] = array_map('intval', $qv['tag__in']);
    595                 $this->is_tag = true;   
     595                $this->is_tag = true;
    596596            }
    597597
     
    606606            } else {
    607607                $qv['tag__and'] = array_map('intval', $qv['tag__and']);
    608                 $this->is_category = true; 
     608                $this->is_category = true;
    609609            }
    610610
     
    613613            } else {
    614614                $qv['tag_slug__in'] = array_map('sanitize_title', $qv['tag_slug__in']);
    615                 $this->is_tag = true;   
     615                $this->is_tag = true;
    616616            }
    617617
     
    620620            } else {
    621621                $qv['tag_slug__and'] = array_map('sanitize_title', $qv['tag_slug__and']);
    622                 $this->is_tag = true;   
     622                $this->is_tag = true;
    623623            }
    624624
     
    903903                $searchand = ' AND ';
    904904            }
    905             $term = addslashes_gpc($q['s']); 
     905            $term = addslashes_gpc($q['s']);
    906906            if (!$q['sentence'] && count($q['search_terms']) > 1 && $q['search_terms'][0] != $q['s'] )
    907907                $search .= " OR (post_title LIKE '{$n}{$term}{$n}') OR (post_content LIKE '{$n}{$term}{$n}')";
     
    12251225
    12261226        // Apply post-paging filters on where and join.  Only plugins that
    1227         // manipulate paging queries should use these hooks.   
     1227        // manipulate paging queries should use these hooks.
    12281228
    12291229        // Announce current selection parameters.  For use by caching plugins.
Note: See TracChangeset for help on using the changeset viewer.