Changeset 21890
- Timestamp:
- 09/18/2012 05:35:11 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/query.php (modified) (28 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r21862 r21890 129 129 130 130 /** 131 * Is the query for an archive page?131 * Is the query for an existing archive page? 132 132 * 133 133 * Month, Year, Category, Author, Post Type archive... … … 151 151 152 152 /** 153 * Is the query for a post type archive page?153 * Is the query for an existing post type archive page? 154 154 * 155 155 * @see WP_Query::is_post_type_archive() … … 172 172 173 173 /** 174 * Is the query for an attachment page?174 * Is the query for an existing attachment page? 175 175 * 176 176 * @see WP_Query::is_attachment() … … 192 192 193 193 /** 194 * Is the query for an author archive page?194 * Is the query for an existing author archive page? 195 195 * 196 196 * If the $author parameter is specified, this function will additionally … … 216 216 217 217 /** 218 * Is the query for a category archive page?218 * Is the query for an existing category archive page? 219 219 * 220 220 * If the $category parameter is specified, this function will additionally … … 240 240 241 241 /** 242 * Is the query for a tag archive page?242 * Is the query for an existing tag archive page? 243 243 * 244 244 * If the $tag parameter is specified, this function will additionally … … 264 264 265 265 /** 266 * Is the query for a taxonomy archive page?266 * Is the query for an existing taxonomy archive page? 267 267 * 268 268 * If the $taxonomy parameter is specified, this function will additionally … … 313 313 314 314 /** 315 * Is the query for a date archive?315 * Is the query for an existing date archive? 316 316 * 317 317 * @see WP_Query::is_date() … … 333 333 334 334 /** 335 * Is the query for a day archive?335 * Is the query for an existing day archive? 336 336 * 337 337 * @see WP_Query::is_day() … … 453 453 454 454 /** 455 * Is the query for a month archive?455 * Is the query for an existing month archive? 456 456 * 457 457 * @see WP_Query::is_month() … … 473 473 474 474 /** 475 * Is the query for a single page?475 * Is the query for an existing single page? 476 476 * 477 477 * If the $page parameter is specified, this function will additionally … … 580 580 581 581 /** 582 * Is the query for a single post?582 * Is the query for an existing single post? 583 583 * 584 584 * Works for any post type, except attachments and pages … … 609 609 610 610 /** 611 * Is the query for a single post of any post type (post, attachment, page, ... )?611 * Is the query for an existing single post of any post type (post, attachment, page, ... )? 612 612 * 613 613 * If the $post_types parameter is specified, this function will additionally … … 676 676 677 677 /** 678 * Is the query for a specific year?678 * Is the query for an existing year archive? 679 679 * 680 680 * @see WP_Query::is_year() … … 3041 3041 3042 3042 /** 3043 * Is the query for an archive page?3043 * Is the query for an existing archive page? 3044 3044 * 3045 3045 * Month, Year, Category, Author, Post Type archive... … … 3054 3054 3055 3055 /** 3056 * Is the query for a post type archive page?3056 * Is the query for an existing post type archive page? 3057 3057 * 3058 3058 * @since 3.1.0 … … 3071 3071 3072 3072 /** 3073 * Is the query for an attachment page?3073 * Is the query for an existing attachment page? 3074 3074 * 3075 3075 * @since 3.1.0 … … 3082 3082 3083 3083 /** 3084 * Is the query for an author archive page?3084 * Is the query for an existing author archive page? 3085 3085 * 3086 3086 * If the $author parameter is specified, this function will additionally … … 3114 3114 3115 3115 /** 3116 * Is the query for a category archive page?3116 * Is the query for an existing category archive page? 3117 3117 * 3118 3118 * If the $category parameter is specified, this function will additionally … … 3146 3146 3147 3147 /** 3148 * Is the query for a tag archive page?3148 * Is the query for an existing tag archive page? 3149 3149 * 3150 3150 * If the $tag parameter is specified, this function will additionally … … 3174 3174 3175 3175 /** 3176 * Is the query for a taxonomy archive page?3176 * Is the query for an existing taxonomy archive page? 3177 3177 * 3178 3178 * If the $taxonomy parameter is specified, this function will additionally … … 3229 3229 3230 3230 /** 3231 * Is the query for a date archive?3231 * Is the query for an existing date archive? 3232 3232 * 3233 3233 * @since 3.1.0 … … 3240 3240 3241 3241 /** 3242 * Is the query for a day archive?3242 * Is the query for an existing day archive? 3243 3243 * 3244 3244 * @since 3.1.0 … … 3327 3327 3328 3328 /** 3329 * Is the query for a month archive?3329 * Is the query for an existing month archive? 3330 3330 * 3331 3331 * @since 3.1.0 … … 3338 3338 3339 3339 /** 3340 * Is the query for a single page?3340 * Is the query for an existing single page? 3341 3341 * 3342 3342 * If the $page parameter is specified, this function will additionally … … 3417 3417 3418 3418 /** 3419 * Is the query for a single post?3419 * Is the query for an existing single post? 3420 3420 * 3421 3421 * Works for any post type, except attachments and pages … … 3454 3454 3455 3455 /** 3456 * Is the query for a single post of any post type (post, attachment, page, ... )?3456 * Is the query for an existing single post of any post type (post, attachment, page, ... )? 3457 3457 * 3458 3458 * If the $post_types parameter is specified, this function will additionally … … 3499 3499 3500 3500 /** 3501 * Is the query for a specific year?3501 * Is the query for an existing year archive? 3502 3502 * 3503 3503 * @since 3.1.0
Note: See TracChangeset
for help on using the changeset viewer.