Changeset 15843 for trunk/wp-includes/query.php
- Timestamp:
- 10/19/2010 07:48:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r15832 r15843 104 104 * 105 105 * 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 107 107 * is causing multiple post types to appear in the query, specifying a post type 108 108 * will cause this check to return false. … … 136 136 return $wp_query->is_post_type_archive( $post_types ); 137 137 } 138 138 139 139 /** 140 140 * Is the query for an attachment page? … … 2649 2649 * 2650 2650 * 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 2652 2652 * is causing multiple post types to appear in the query, specifying a post type 2653 2653 * will cause this check to return false.
Note: See TracChangeset
for help on using the changeset viewer.