Make WordPress Core


Ignore:
Timestamp:
01/15/2010 10:11:12 PM (14 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

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

    r12597 r12733  
    333333/**
    334334 * Whether current page view is the blog homepage.
    335  * 
     335 *
    336336 * This is the page which is showing the time based blog content of your site
    337337 * so if you set a static page for the front page of your site then this will
    338  * only be true on the page which you set as the "Posts page" in Reading Settings. 
     338 * only be true on the page which you set as the "Posts page" in Reading Settings.
    339339 *
    340340 * @since 1.5.0
     
    20662066            $post_type_object = get_post_type_object ( $post_type );
    20672067            if ( !empty($post_type_object) )
    2068                 $post_type_cap = $post_type_object->capability_type; 
     2068                $post_type_cap = $post_type_object->capability_type;
    20692069            else
    20702070                $post_type_cap = $post_type;
     
    20782078            $where .= $exclude_post_types;
    20792079        } elseif ( !empty( $post_type ) && is_array( $post_type ) ) {
    2080             $where .= " AND $wpdb->posts.post_type IN ('" . join("', '", $post_type) . "')"; 
     2080            $where .= " AND $wpdb->posts.post_type IN ('" . join("', '", $post_type) . "')";
    20812081        } elseif ( ! empty( $post_type ) ) {
    20822082            $where .= " AND $wpdb->posts.post_type = '$post_type'";
Note: See TracChangeset for help on using the changeset viewer.