Changeset 47402 for trunk/src/wp-includes/query.php
- Timestamp:
- 03/01/2020 05:27:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r47401 r47402 570 570 * @global WP_Query $wp_query WordPress Query object. 571 571 * 572 * @param int|string| array$page Optional. Page ID, title, slug, or array of such573 * to check against. Default empty.572 * @param int|string|int[]|string[] $page Optional. Page ID, title, slug, or array of such 573 * to check against. Default empty. 574 574 * @return bool Whether the query is for an existing single page. 575 575 */ … … 716 716 * @global WP_Query $wp_query WordPress Query object. 717 717 * 718 * @param int|string| array$post Optional. Post ID, title, slug, or array of such719 * to check against. Default empty.718 * @param int|string|int[]|string[] $post Optional. Post ID, title, slug, or array of such 719 * to check against. Default empty. 720 720 * @return bool Whether the query is for an existing single post. 721 721 */ … … 749 749 * @global WP_Query $wp_query WordPress Query object. 750 750 * 751 * @param string| array$post_types Optional. Post type or array of post types752 * to check against. Default empty.751 * @param string|string[] $post_types Optional. Post type or array of post types 752 * to check against. Default empty. 753 753 * @return bool Whether the query is for an existing single post 754 754 * or any of the given post types.
Note: See TracChangeset
for help on using the changeset viewer.