WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/19/2010 07:48:22 AM (10 years ago)
Author:
nacin
Message:

Pinking shears.

File:
1 edited

Legend:

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

    r15832 r15843  
    104104 *
    105105 * If the $post_types parameter is specified, this function will additionally
    106  * check if the query is for exactly one of the post types specified. If a plugin 
     106 * check if the query is for exactly one of the post types specified. If a plugin
    107107 * is causing multiple post types to appear in the query, specifying a post type
    108108 * will cause this check to return false.
     
    136136    return $wp_query->is_post_type_archive( $post_types );
    137137}
    138    
     138
    139139/**
    140140 * Is the query for an attachment page?
     
    26492649     *
    26502650     * If the $post_types parameter is specified, this function will additionally
    2651      * check if the query is for exactly one of the post types specified. If a plugin 
     2651     * check if the query is for exactly one of the post types specified. If a plugin
    26522652     * is causing multiple post types to appear in the query, specifying a post type
    26532653     * will cause this check to return false.
Note: See TracChangeset for help on using the changeset viewer.