Ticket #38283: 38283.patch
File 38283.patch, 5.5 KB (added by , 8 years ago) |
---|
-
src/wp-includes/class-wp-query.php
647 647 * @param string|array $query { 648 648 * Optional. Array or string of Query parameters. 649 649 * 650 * @type string $attachment 650 651 * @type int $attachment_id Attachment post ID. Used for 'attachment' post_type. 651 652 * @type int|string $author Author ID, or comma-separated list of IDs. 652 653 * @type string $author_name User 'user_nicename'. … … 669 670 * See WP_Date_Query::__construct(). 670 671 * @type int $day Day of the month. Default empty. Accepts numbers 1-31. 671 672 * @type bool $exact Whether to search by exact keyword. Default false. 673 * @type string $embed 674 * @type string $error 675 * @type string $feed 672 676 * @type string|array $fields Which fields to return. Single field or all fields (string), 673 677 * or array of fields. 'id=>parent' uses 'id' and 'post_parent'. 674 678 * Default all fields. Accepts 'ids', 'id=>parent'. … … 684 688 * @type string $meta_value Custom field value. 685 689 * @type int $meta_value_num Custom field value number. 686 690 * @type int $menu_order The menu order of the posts. 691 * @type int $minute Minute of the hour. Default empty. Accepts numbers 0-60. 687 692 * @type int $monthnum The two-digit month. Default empty. Accepts numbers 1-12. 688 693 * @type string $name Post slug. 689 694 * @type bool $nopaging Show all posts (true) or paginate (false). Default false. … … 690 695 * @type bool $no_found_rows Whether to skip counting the total rows found. Enabling can improve 691 696 * performance. Default false. 692 697 * @type int $offset The number of posts to offset before retrieval. 698 * @type string $operator Operator to test. Possible values are 'IN', 'NOT IN', 'AND', 699 * 'EXISTS' and 'NOT EXISTS'. Default value is 'IN'. 693 700 * @type string $order Designates ascending or descending order of posts. Default 'DESC'. 694 701 * Accepts 'ASC', 'DESC'. 695 702 * @type string|array $orderby Sort retrieved posts by parameter. One or more options may be … … 727 734 * @type int $posts_per_archive_page The number of posts to query for by archive page. Overrides 728 735 * 'posts_per_page' when is_archive(), or is_search() are true. 729 736 * @type array $post_name__in An array of post slugs that results must match. 737 * @type string $preview 738 * @type $robots 730 739 * @type string $s Search keyword(s). Prepending a term with a hyphen will 731 740 * exclude posts matching that term. Eg, 'pillow -sofa' will 732 741 * return posts containing 'pillow' but not 'sofa'. The … … 734 743 * the 'wp_query_search_exclusion_prefix' filter. 735 744 * @type int $second Second of the minute. Default empty. Accepts numbers 0-60. 736 745 * @type bool $sentence Whether to search by phrase. Default false. 746 * @type string $static 737 747 * @type bool $suppress_filters Whether to suppress filters. Default false. 738 748 * @type string $tag Tag slug. Comma-separated (either), Plus-separated (all). 739 749 * @type array $tag__and An array of tag ids (AND in). … … 745 755 * true. Note: a string of comma-separated IDs will NOT work. 746 756 * @type array $tax_query An associative array of WP_Tax_Query arguments. 747 757 * See WP_Tax_Query->queries. 758 * @type string $taxonomy Taxonomy. 759 * @type string $tb 760 * @type string $term Term. 761 * @type int $term_id Term ID. 748 762 * @type string $title Post title. 749 763 * @type bool $update_post_meta_cache Whether to update the post meta cache. Default true. 750 764 * @type bool $update_post_term_cache Whether to update the post term cache. Default true. … … 753 767 * get_term_meta() call will hit the database. 754 768 * Defaults to the value of `$update_post_term_cache`. 755 769 * @type int $w The week number of the year. Default empty. Accepts numbers 0-53. 770 * @type bool $withcomments 771 * @type bool $withoutcomments 756 772 * @type int $year The four-digit year. Default empty. Accepts any four-digit year. 757 773 * } 758 774 */