Changeset 45739
- Timestamp:
- 08/04/2019 01:58:03 AM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r45617 r45739 62 62 63 63 /** 64 * @global WP_Query $wp_query 64 * @global WP_Query $wp_query WordPress Query object. 65 65 * @global array $post_mime_types 66 66 * @global array $avail_post_mime_types -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r45734 r45739 137 137 /** 138 138 * @global array $avail_post_stati 139 * @global WP_Query $wp_query 139 * @global WP_Query $wp_query WordPress Query object. 140 140 * @global int $per_page 141 141 * @global string $mode … … 696 696 697 697 /** 698 * @global WP_Query $wp_query 698 * @global WP_Query $wp_query WordPress Query object. 699 699 * @global int $per_page 700 700 * @param array $posts -
trunk/src/wp-admin/includes/export.php
r45723 r45739 526 526 if ( $post_ids ) { 527 527 /** 528 * @global WP_Query $wp_query 528 * @global WP_Query $wp_query WordPress Query object. 529 529 */ 530 530 global $wp_query; -
trunk/src/wp-admin/includes/media.php
r45737 r45739 1416 1416 * @since 2.5.0 1417 1417 * 1418 * @global WP_Query $wp_the_query 1418 * @global WP_Query $wp_the_query WordPress Query object. 1419 1419 * 1420 1420 * @param int $post_id Optional. Post ID. … … 2528 2528 * 2529 2529 * @global wpdb $wpdb WordPress database abstraction object. 2530 * @global WP_Query $wp_query 2530 * @global WP_Query $wp_query WordPress Query object. 2531 2531 * @global WP_Locale $wp_locale WordPress date and time locale object. 2532 2532 * @global string $type -
trunk/src/wp-includes/admin-bar.php
r45590 r45739 677 677 * 678 678 * @global WP_Term $tag 679 * @global WP_Query $wp_the_query 679 * @global WP_Query $wp_the_query WordPress Query object. 680 680 * @global int $user_id The ID of the user being edited. Not to be confused with the 681 681 * global $user_ID, which contains the ID of the current user. -
trunk/src/wp-includes/canonical.php
r45735 r45739 30 30 * 31 31 * @global WP_Rewrite $wp_rewrite WordPress rewrite component. 32 * @global bool $is_IIS33 * @global WP_Query $wp_query34 * @global wpdb $wpdbWordPress database abstraction object.35 * @global WP $wpCurrent WordPress environment instance.32 * @global bool $is_IIS 33 * @global WP_Query $wp_query WordPress Query object. 34 * @global wpdb $wpdb WordPress database abstraction object. 35 * @global WP $wp Current WordPress environment instance. 36 36 * 37 37 * @param string $requested_url Optional. The URL that was requested, used to -
trunk/src/wp-includes/class-wp-query.php
r45674 r45739 4162 4162 * @since 3.3.0 4163 4163 * 4164 * @global WP_Query $wp_query Global WP_Query instance.4164 * @global WP_Query $wp_query WordPress Query object. 4165 4165 * 4166 4166 * @return bool -
trunk/src/wp-includes/class-wp.php
r45735 r45739 561 561 * @since 2.0.0 562 562 * 563 * @global WP_Query $wp_query 563 * @global WP_Query $wp_query WordPress Query object. 564 564 * @global string $query_string Query string for the loop. 565 * @global array $posts The found posts.566 * @global WP_Post|null $post The current post, if available.567 * @global string $request The SQL statement for the request.568 * @global int $more Only set, if single page or post.569 * @global int $single If single page or post. Only set, if single page or post.570 * @global WP_User $authordata Only set, if author archive.565 * @global array $posts The found posts. 566 * @global WP_Post|null $post The current post, if available. 567 * @global string $request The SQL statement for the request. 568 * @global int $more Only set, if single page or post. 569 * @global int $single If single page or post. Only set, if single page or post. 570 * @global WP_User $authordata Only set, if author archive. 571 571 */ 572 572 public function register_globals() { … … 607 607 * @since 2.0.0 608 608 * 609 * @global WP_Query $wp_the_query 609 * @global WP_Query $wp_the_query WordPress Query object. 610 610 */ 611 611 public function query_posts() { … … 630 630 * @since 2.0.0 631 631 * 632 * @global WP_Query $wp_query 632 * @global WP_Query $wp_query WordPress Query object. 633 633 */ 634 634 public function handle_404() { -
trunk/src/wp-includes/comment-template.php
r45735 r45739 1303 1303 * @since 1.5.0 1304 1304 * 1305 * @global WP_Query $wp_query 1305 * @global WP_Query $wp_query WordPress Query object. 1306 1306 * @global WP_Post $post 1307 1307 * @global wpdb $wpdb WordPress database abstraction object. … … 1960 1960 * @see WP_Query->comments 1961 1961 * 1962 * @global WP_Query $wp_query 1962 * @global WP_Query $wp_query WordPress Query object. 1963 1963 * @global int $comment_alt 1964 1964 * @global int $comment_depth -
trunk/src/wp-includes/comment.php
r45674 r45739 965 965 * @uses Walker_Comment 966 966 * 967 * @global WP_Query $wp_query 967 * @global WP_Query $wp_query WordPress Query object. 968 968 * 969 969 * @param WP_Comment[] $comments Optional. Array of WP_Comment objects. Defaults to $wp_query->comments. -
trunk/src/wp-includes/feed.php
r45611 r45739 638 638 } 639 639 640 /* 640 /** 641 641 * Get the timestamp of the most recently modified post from WP_Query. 642 642 * … … 644 644 * comment will be returned. 645 645 * 646 * @global WP_Query $wp_query The global WP_Query object.646 * @global WP_Query $wp_query WordPress Query object. 647 647 * 648 648 * @since 5.2.0 -
trunk/src/wp-includes/functions.php
r45737 r45739 1114 1114 * 1115 1115 * @global WP $wp Current WordPress environment instance. 1116 * @global WP_Query $wp_query 1117 * @global WP_Query $wp_the_query 1116 * @global WP_Query $wp_query WordPress Query object. 1117 * @global WP_Query $wp_the_query Copy of the WordPress Query object. 1118 1118 * 1119 1119 * @param string|array $query_vars Default WP_Query arguments. … … 1379 1379 * @since 2.1.0 1380 1380 * 1381 * @global WP_Query $wp_query Used to tell if the use a comment feed.1381 * @global WP_Query $wp_query WordPress Query object. 1382 1382 */ 1383 1383 function do_feed() { … … 2967 2967 * @since 5.1.0 The `$link_url`, `$link_text`, and `$exit` arguments were added. 2968 2968 * 2969 * @global WP_Query $wp_query Global WP_Query instance.2969 * @global WP_Query $wp_query WordPress Query object. 2970 2970 * 2971 2971 * @param string|WP_Error $message Optional. Error message. If this is a WP_Error object, -
trunk/src/wp-includes/general-template.php
r45737 r45739 3926 3926 * @since 4.9.0 Added the `aria_current` argument. 3927 3927 * 3928 * @global WP_Query $wp_query 3928 * @global WP_Query $wp_query WordPress Query object. 3929 3929 * @global WP_Rewrite $wp_rewrite WordPress rewrite component. 3930 3930 * -
trunk/src/wp-includes/link-template.php
r45735 r45739 2323 2323 * 2324 2324 * @global int $paged 2325 * @global WP_Query $wp_query 2325 * @global WP_Query $wp_query WordPress Query object. 2326 2326 * 2327 2327 * @param string $label Content for link text. … … 2461 2461 * @since 2.8.0 2462 2462 * 2463 * @global WP_Query $wp_query 2463 * @global WP_Query $wp_query WordPress Query object. 2464 2464 * 2465 2465 * @param string|array $args { … … 2802 2802 * @since 2.7.1 2803 2803 * 2804 * @global WP_Query $wp_query 2804 * @global WP_Query $wp_query WordPress Query object. 2805 2805 * 2806 2806 * @param string $label Optional. Label for link text. Default empty. -
trunk/src/wp-includes/nav-menu-template.php
r45735 r45739 295 295 * @since 3.0.0 296 296 * 297 * @global WP_Query $wp_query 297 * @global WP_Query $wp_query WordPress Query object. 298 298 * @global WP_Rewrite $wp_rewrite WordPress rewrite component. 299 299 * -
trunk/src/wp-includes/post-template.php
r45735 r45739 608 608 * @since 2.8.0 609 609 * 610 * @global WP_Query $wp_query 610 * @global WP_Query $wp_query WordPress Query object. 611 611 * 612 612 * @param string|string[] $class Space-separated string or array of class names to add to the class list. … … 1234 1234 * @see get_pages() 1235 1235 * 1236 * @global WP_Query $wp_query 1236 * @global WP_Query $wp_query WordPress Query object. 1237 1237 * 1238 1238 * @param array|string $args { -
trunk/src/wp-includes/post-thumbnail-template.php
r45590 r45739 84 84 * @since 3.2.0 85 85 * 86 * @global WP_Query $wp_query 86 * @global WP_Query $wp_query WordPress Query object. 87 87 * 88 88 * @param WP_Query $wp_query Optional. A WP_Query instance. Defaults to the $wp_query global. -
trunk/src/wp-includes/query.php
r45674 r45739 18 18 * @since 3.9.0 The `$default` argument was introduced. 19 19 * 20 * @global WP_Query $wp_query Global WP_Query instance.20 * @global WP_Query $wp_query WordPress Query object. 21 21 * 22 22 * @param string $var The variable key to retrieve. … … 36 36 * @since 3.1.0 37 37 * 38 * @global WP_Query $wp_query Global WP_Query instance.38 * @global WP_Query $wp_query WordPress Query object. 39 39 * 40 40 * @return object Queried object. … … 52 52 * @since 3.1.0 53 53 * 54 * @global WP_Query $wp_query Global WP_Query instance.54 * @global WP_Query $wp_query WordPress Query object. 55 55 * 56 56 * @return int ID of the queried object. … … 66 66 * @since 2.2.0 67 67 * 68 * @global WP_Query $wp_query Global WP_Query instance.68 * @global WP_Query $wp_query WordPress Query object. 69 69 * 70 70 * @param string $var Query variable key. … … 89 89 * @since 1.5.0 90 90 * 91 * @global WP_Query $wp_query Global WP_Query instance.91 * @global WP_Query $wp_query WordPress Query object. 92 92 * 93 93 * @param array|string $query Array or string of WP_Query arguments. … … 108 108 * @since 2.3.0 109 109 * 110 * @global WP_Query $wp_query Global WP_Query instance.110 * @global WP_Query $wp_query WordPress Query object. 111 111 * @global WP_Query $wp_the_query Copy of the global WP_Query instance created during wp_reset_query(). 112 112 */ … … 122 122 * @since 3.0.0 123 123 * 124 * @global WP_Query $wp_query Global WP_Query instance.124 * @global WP_Query $wp_query WordPress Query object. 125 125 */ 126 126 function wp_reset_postdata() { … … 147 147 * @since 1.5.0 148 148 * 149 * @global WP_Query $wp_query Global WP_Query instance.149 * @global WP_Query $wp_query WordPress Query object. 150 150 * 151 151 * @return bool … … 171 171 * @since 3.1.0 172 172 * 173 * @global WP_Query $wp_query Global WP_Query instance.173 * @global WP_Query $wp_query WordPress Query object. 174 174 * 175 175 * @param string|array $post_types Optional. Post type or array of posts types to check against. … … 196 196 * @since 2.0.0 197 197 * 198 * @global WP_Query $wp_query Global WP_Query instance.198 * @global WP_Query $wp_query WordPress Query object. 199 199 * 200 200 * @param int|string|array|object $attachment Attachment ID, title, slug, or array of such. … … 224 224 * @since 1.5.0 225 225 * 226 * @global WP_Query $wp_query Global WP_Query instance.226 * @global WP_Query $wp_query WordPress Query object. 227 227 * 228 228 * @param mixed $author Optional. User ID, nickname, nicename, or array of User IDs, nicknames, and nicenames … … 252 252 * @since 1.5.0 253 253 * 254 * @global WP_Query $wp_query Global WP_Query instance.254 * @global WP_Query $wp_query WordPress Query object. 255 255 * 256 256 * @param mixed $category Optional. Category ID, name, slug, or array of Category IDs, names, and slugs. … … 280 280 * @since 2.3.0 281 281 * 282 * @global WP_Query $wp_query Global WP_Query instance.282 * @global WP_Query $wp_query WordPress Query object. 283 283 * 284 284 * @param mixed $tag Optional. Tag ID, name, slug, or array of Tag IDs, names, and slugs. … … 312 312 * @since 2.5.0 313 313 * 314 * @global WP_Query $wp_query Global WP_Query instance.314 * @global WP_Query $wp_query WordPress Query object. 315 315 * 316 316 * @param string|array $taxonomy Optional. Taxonomy slug or slugs. … … 338 338 * @since 1.5.0 339 339 * 340 * @global WP_Query $wp_query Global WP_Query instance.340 * @global WP_Query $wp_query WordPress Query object. 341 341 * 342 342 * @return bool … … 364 364 * @since 1.5.0 365 365 * 366 * @global WP_Query $wp_query Global WP_Query instance.366 * @global WP_Query $wp_query WordPress Query object. 367 367 * 368 368 * @return bool … … 388 388 * @since 1.5.0 389 389 * 390 * @global WP_Query $wp_query Global WP_Query instance.390 * @global WP_Query $wp_query WordPress Query object. 391 391 * 392 392 * @param string|array $feeds Optional feed types to check. … … 409 409 * @since 3.0.0 410 410 * 411 * @global WP_Query $wp_query Global WP_Query instance.411 * @global WP_Query $wp_query WordPress Query object. 412 412 * 413 413 * @return bool … … 442 442 * @since 2.5.0 443 443 * 444 * @global WP_Query $wp_query Global WP_Query instance.444 * @global WP_Query $wp_query WordPress Query object. 445 445 * 446 446 * @return bool True, if front of site. … … 475 475 * 476 476 * @see is_front_page() 477 * @global WP_Query $wp_query Global WP_Query instance.477 * @global WP_Query $wp_query WordPress Query object. 478 478 * 479 479 * @return bool True if blog view homepage, otherwise false. … … 505 505 * @since 5.2.0 506 506 * 507 * @global WP_Query $wp_query Global WP_Query instance.507 * @global WP_Query $wp_query WordPress Query object. 508 508 * 509 509 * @return bool … … 529 529 * @since 1.5.0 530 530 * 531 * @global WP_Query $wp_query Global WP_Query instance.531 * @global WP_Query $wp_query WordPress Query object. 532 532 * 533 533 * @return bool … … 559 559 * @since 1.5.0 560 560 * 561 * @global WP_Query $wp_query Global WP_Query instance.561 * @global WP_Query $wp_query WordPress Query object. 562 562 * 563 563 * @param int|string|array $page Optional. Page ID, title, slug, or array of such. Default empty. … … 584 584 * @since 1.5.0 585 585 * 586 * @global WP_Query $wp_query Global WP_Query instance.586 * @global WP_Query $wp_query WordPress Query object. 587 587 * 588 588 * @return bool … … 608 608 * @since 2.0.0 609 609 * 610 * @global WP_Query $wp_query Global WP_Query instance.610 * @global WP_Query $wp_query WordPress Query object. 611 611 * 612 612 * @return bool … … 628 628 * @since 2.1.0 629 629 * 630 * @global WP_Query $wp_query Global WP_Query instance.630 * @global WP_Query $wp_query WordPress Query object. 631 631 * 632 632 * @return bool … … 652 652 * @since 1.5.0 653 653 * 654 * @global WP_Query $wp_query Global WP_Query instance.654 * @global WP_Query $wp_query WordPress Query object. 655 655 * 656 656 * @return bool … … 684 684 * @since 1.5.0 685 685 * 686 * @global WP_Query $wp_query Global WP_Query instance.686 * @global WP_Query $wp_query WordPress Query object. 687 687 * 688 688 * @param int|string|array $post Optional. Post ID, title, slug, or array of such. Default empty. … … 716 716 * @since 1.5.0 717 717 * 718 * @global WP_Query $wp_query Global WP_Query instance.718 * @global WP_Query $wp_query WordPress Query object. 719 719 * 720 720 * @param string|array $post_types Optional. Post type or array of post types. Default empty. … … 741 741 * @since 1.5.0 742 742 * 743 * @global WP_Query $wp_query Global WP_Query instance.743 * @global WP_Query $wp_query WordPress Query object. 744 744 * 745 745 * @return bool … … 765 765 * @since 1.5.0 766 766 * 767 * @global WP_Query $wp_query Global WP_Query instance.767 * @global WP_Query $wp_query WordPress Query object. 768 768 * 769 769 * @return bool … … 789 789 * @since 1.5.0 790 790 * 791 * @global WP_Query $wp_query Global WP_Query instance.791 * @global WP_Query $wp_query WordPress Query object. 792 792 * 793 793 * @return bool … … 813 813 * @since 1.5.0 814 814 * 815 * @global WP_Query $wp_query Global WP_Query instance.815 * @global WP_Query $wp_query WordPress Query object. 816 816 * 817 817 * @return bool … … 833 833 * @since 4.4.0 834 834 * 835 * @global WP_Query $wp_query Global WP_Query instance.835 * @global WP_Query $wp_query WordPress Query object. 836 836 * 837 837 * @return bool Whether we're in an embedded post or not. … … 857 857 * @since 3.3.0 858 858 * 859 * @global WP_Query $wp_query Global WP_Query instance.859 * @global WP_Query $wp_query WordPress Query object. 860 860 * 861 861 * @return bool … … 887 887 * @since 1.5.0 888 888 * 889 * @global WP_Query $wp_query Global WP_Query instance.889 * @global WP_Query $wp_query WordPress Query object. 890 890 * 891 891 * @return bool … … 905 905 * @since 2.0.0 906 906 * 907 * @global WP_Query $wp_query Global WP_Query instance.907 * @global WP_Query $wp_query WordPress Query object. 908 908 * 909 909 * @return bool True if caller is within loop, false if loop hasn't started or ended. … … 919 919 * @since 1.5.0 920 920 * 921 * @global WP_Query $wp_query Global WP_Query instance.921 * @global WP_Query $wp_query WordPress Query object. 922 922 */ 923 923 function rewind_posts() { … … 931 931 * @since 1.5.0 932 932 * 933 * @global WP_Query $wp_query Global WP_Query instance.933 * @global WP_Query $wp_query WordPress Query object. 934 934 */ 935 935 function the_post() { … … 947 947 * @since 2.2.0 948 948 * 949 * @global WP_Query $wp_query Global WP_Query instance.949 * @global WP_Query $wp_query WordPress Query object. 950 950 * 951 951 * @return bool … … 961 961 * @since 2.2.0 962 962 * 963 * @global WP_Query $wp_query Global WP_Query instance.963 * @global WP_Query $wp_query WordPress Query object. 964 964 * 965 965 * @return object … … 1128 1128 * @since 4.4.0 Added the ability to pass a post ID to `$post`. 1129 1129 * 1130 * @global WP_Query $wp_query Global WP_Query instance.1130 * @global WP_Query $wp_query WordPress Query object. 1131 1131 * 1132 1132 * @param WP_Post|object|int $post WP_Post instance or Post ID/object. … … 1148 1148 * @since 5.2.0 1149 1149 * 1150 * @global WP_Query $wp_query Global WP_Query instance.1150 * @global WP_Query $wp_query WordPress Query object. 1151 1151 * 1152 1152 * @param WP_Post|object|int $post WP_Post instance or Post ID/object. -
trunk/src/wp-includes/template.php
r45736 r45739 687 687 * @global WP_Post $post 688 688 * @global bool $wp_did_header 689 * @global WP_Query $wp_query 689 * @global WP_Query $wp_query WordPress Query object. 690 690 * @global WP_Rewrite $wp_rewrite WordPress rewrite component. 691 691 * @global wpdb $wpdb WordPress database abstraction object. -
trunk/src/wp-settings.php
r45737 r45739 407 407 * WordPress Query object 408 408 * 409 * @global WP_Query $wp_the_query 409 * @global WP_Query $wp_the_query WordPress Query object. 410 410 * @since 2.0.0 411 411 */ … … 416 416 * Use this global for WordPress queries 417 417 * 418 * @global WP_Query $wp_query 418 * @global WP_Query $wp_query WordPress Query object. 419 419 * @since 1.5.0 420 420 */
Note: See TracChangeset
for help on using the changeset viewer.