Changeset 42843 for trunk/src/wp-includes/query.php
- Timestamp:
- 03/18/2018 02:22:09 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r42722 r42843 140 140 * 141 141 * Month, Year, Category, Author, Post Type archive... 142 * 143 * For more information on this and similar theme functions, check out 144 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 145 * Conditional Tags} article in the Theme Developer Handbook. 146 * 142 * 143 * For more information on this and similar theme functions, check out 144 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 145 * Conditional Tags} article in the Theme Developer Handbook. 146 * 147 147 * @since 1.5.0 148 148 * … … 164 164 /** 165 165 * Determines whether the query is for an existing post type archive page. 166 * 167 * For more information on this and similar theme functions, check out 168 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 169 * Conditional Tags} article in the Theme Developer Handbook. 170 * 166 * 167 * For more information on this and similar theme functions, check out 168 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 169 * Conditional Tags} article in the Theme Developer Handbook. 170 * 171 171 * @since 3.1.0 172 172 * … … 189 189 /** 190 190 * Determines whether the query is for an existing attachment page. 191 * 192 * For more information on this and similar theme functions, check out 193 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 194 * Conditional Tags} article in the Theme Developer Handbook. 195 * 191 * 192 * For more information on this and similar theme functions, check out 193 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 194 * Conditional Tags} article in the Theme Developer Handbook. 195 * 196 196 * @since 2.0.0 197 197 * … … 217 217 * If the $author parameter is specified, this function will additionally 218 218 * check if the query is for one of the authors specified. 219 * 220 * For more information on this and similar theme functions, check out 221 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 222 * Conditional Tags} article in the Theme Developer Handbook. 223 * 219 * 220 * For more information on this and similar theme functions, check out 221 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 222 * Conditional Tags} article in the Theme Developer Handbook. 223 * 224 224 * @since 1.5.0 225 225 * … … 245 245 * If the $category parameter is specified, this function will additionally 246 246 * check if the query is for one of the categories specified. 247 * 248 * For more information on this and similar theme functions, check out 249 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 250 * Conditional Tags} article in the Theme Developer Handbook. 251 * 247 * 248 * For more information on this and similar theme functions, check out 249 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 250 * Conditional Tags} article in the Theme Developer Handbook. 251 * 252 252 * @since 1.5.0 253 253 * … … 273 273 * If the $tag parameter is specified, this function will additionally 274 274 * check if the query is for one of the tags specified. 275 * 276 * For more information on this and similar theme functions, check out 277 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 275 * 276 * For more information on this and similar theme functions, check out 277 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 278 278 * Conditional Tags} article in the Theme Developer Handbook. 279 279 * … … 305 305 * this function will additionally check if the query is for one of the terms 306 306 * specified. 307 * 308 * For more information on this and similar theme functions, check out 309 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 307 * 308 * For more information on this and similar theme functions, check out 309 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 310 310 * Conditional Tags} article in the Theme Developer Handbook. 311 311 * … … 331 331 /** 332 332 * Determines whether the query is for an existing date archive. 333 * 334 * For more information on this and similar theme functions, check out 335 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 336 * Conditional Tags} article in the Theme Developer Handbook. 337 * 333 * 334 * For more information on this and similar theme functions, check out 335 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 336 * Conditional Tags} article in the Theme Developer Handbook. 337 * 338 338 * @since 1.5.0 339 339 * … … 357 357 * 358 358 * A conditional check to test whether the page is a date-based archive page displaying posts for the current day. 359 * 360 * For more information on this and similar theme functions, check out 361 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 362 * Conditional Tags} article in the Theme Developer Handbook. 363 * 359 * 360 * For more information on this and similar theme functions, check out 361 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 362 * Conditional Tags} article in the Theme Developer Handbook. 363 * 364 364 * @since 1.5.0 365 365 * … … 381 381 /** 382 382 * Determines whether the query is for a feed. 383 * 384 * For more information on this and similar theme functions, check out 385 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 386 * Conditional Tags} article in the Theme Developer Handbook. 387 * 383 * 384 * For more information on this and similar theme functions, check out 385 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 386 * Conditional Tags} article in the Theme Developer Handbook. 387 * 388 388 * @since 1.5.0 389 389 * … … 435 435 * 436 436 * Otherwise the same as @see is_home() 437 * 438 * For more information on this and similar theme functions, check out 439 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 440 * Conditional Tags} article in the Theme Developer Handbook. 441 * 437 * 438 * For more information on this and similar theme functions, check out 439 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 440 * Conditional Tags} article in the Theme Developer Handbook. 441 * 442 442 * @since 2.5.0 443 443 * … … 467 467 * If a static page is set for the front page of the site, this function will return true only 468 468 * on the page you set as the "Posts page". 469 * 470 * For more information on this and similar theme functions, check out 471 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 472 * Conditional Tags} article in the Theme Developer Handbook. 473 * 469 * 470 * For more information on this and similar theme functions, check out 471 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 472 * Conditional Tags} article in the Theme Developer Handbook. 473 * 474 474 * @since 1.5.0 475 475 * … … 492 492 /** 493 493 * Determines whether the query is for an existing month archive. 494 * 495 * For more information on this and similar theme functions, check out 496 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 497 * Conditional Tags} article in the Theme Developer Handbook. 498 * 494 * 495 * For more information on this and similar theme functions, check out 496 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 497 * Conditional Tags} article in the Theme Developer Handbook. 498 * 499 499 * @since 1.5.0 500 500 * … … 519 519 * If the $page parameter is specified, this function will additionally 520 520 * check if the query is for one of the pages specified. 521 * 522 * For more information on this and similar theme functions, check out 523 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 524 * Conditional Tags} article in the Theme Developer Handbook. 525 * 521 * 522 * For more information on this and similar theme functions, check out 523 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 524 * Conditional Tags} article in the Theme Developer Handbook. 525 * 526 526 * @see is_single() 527 527 * @see is_singular() … … 547 547 /** 548 548 * Determines whether the query is for paged results and not for the first page. 549 * 550 * For more information on this and similar theme functions, check out 551 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 552 * Conditional Tags} article in the Theme Developer Handbook. 553 * 549 * 550 * For more information on this and similar theme functions, check out 551 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 552 * Conditional Tags} article in the Theme Developer Handbook. 553 * 554 554 * @since 1.5.0 555 555 * … … 571 571 /** 572 572 * Determines whether the query is for a post or page preview. 573 * 574 * For more information on this and similar theme functions, check out 575 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 576 * Conditional Tags} article in the Theme Developer Handbook. 577 * 573 * 574 * For more information on this and similar theme functions, check out 575 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 576 * Conditional Tags} article in the Theme Developer Handbook. 577 * 578 578 * @since 2.0.0 579 579 * … … 615 615 /** 616 616 * Determines whether the query is for a search. 617 * 618 * For more information on this and similar theme functions, check out 619 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 620 * Conditional Tags} article in the Theme Developer Handbook. 621 * 617 * 618 * For more information on this and similar theme functions, check out 619 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 620 * Conditional Tags} article in the Theme Developer Handbook. 621 * 622 622 * @since 1.5.0 623 623 * … … 644 644 * If the $post parameter is specified, this function will additionally 645 645 * check if the query is for one of the Posts specified. 646 * 647 * For more information on this and similar theme functions, check out 648 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 649 * Conditional Tags} article in the Theme Developer Handbook. 650 * 646 * 647 * For more information on this and similar theme functions, check out 648 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 649 * Conditional Tags} article in the Theme Developer Handbook. 650 * 651 651 * @see is_page() 652 652 * @see is_singular() … … 676 676 * If the $post_types parameter is specified, this function will additionally 677 677 * check if the query is for one of the Posts Types specified. 678 * 679 * For more information on this and similar theme functions, check out 680 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 681 * Conditional Tags} article in the Theme Developer Handbook. 682 * 678 * 679 * For more information on this and similar theme functions, check out 680 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 681 * Conditional Tags} article in the Theme Developer Handbook. 682 * 683 683 * @see is_page() 684 684 * @see is_single() … … 704 704 /** 705 705 * Determines whether the query is for a specific time. 706 * 707 * For more information on this and similar theme functions, check out 708 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 706 * 707 * For more information on this and similar theme functions, check out 708 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 709 709 * Conditional Tags} article in the Theme Developer Handbook. 710 710 * … … 728 728 /** 729 729 * Determines whether the query is for a trackback endpoint call. 730 * 731 * For more information on this and similar theme functions, check out 732 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 730 * 731 * For more information on this and similar theme functions, check out 732 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 733 733 * Conditional Tags} article in the Theme Developer Handbook. 734 734 * … … 752 752 /** 753 753 * Determines whether the query is for an existing year archive. 754 * 755 * For more information on this and similar theme functions, check out 756 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 754 * 755 * For more information on this and similar theme functions, check out 756 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 757 757 * Conditional Tags} article in the Theme Developer Handbook. 758 758 * … … 776 776 /** 777 777 * Determines whether the query has resulted in a 404 (returns no results). 778 * 779 * For more information on this and similar theme functions, check out 780 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 781 * Conditional Tags} article in the Theme Developer Handbook. 782 * 778 * 779 * For more information on this and similar theme functions, check out 780 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 781 * Conditional Tags} article in the Theme Developer Handbook. 782 * 783 783 * @since 1.5.0 784 784 * … … 820 820 /** 821 821 * Determines whether the query is the main query. 822 * 823 * For more information on this and similar theme functions, check out 824 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 825 * Conditional Tags} article in the Theme Developer Handbook. 826 * 822 * 823 * For more information on this and similar theme functions, check out 824 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 825 * Conditional Tags} article in the Theme Developer Handbook. 826 * 827 827 * @since 3.3.0 828 828 * … … 868 868 /** 869 869 * Determines whether the caller is in the Loop. 870 * 871 * For more information on this and similar theme functions, check out 872 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 870 * 871 * For more information on this and similar theme functions, check out 872 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ 873 873 * Conditional Tags} article in the Theme Developer Handbook. 874 874 *
Note: See TracChangeset
for help on using the changeset viewer.