Ticket #39336: 39336.2.patch
File 39336.2.patch, 2.0 KB (added by , 8 years ago) |
---|
-
class-wp-query.php
691 691 * 'meta_key=keyname' must be also be defined. To sort by a 692 692 * specific `$meta_query` clause, use that clause's array key. 693 693 * Default 'date'. Accepts 'none', 'name', 'author', 'date', 694 * 'title', 'modified', 'menu_order', 'parent', 'ID', 'rand', 694 * 'title', 'modified', 'menu_order', 'parent', 'ID', 'rand','relevance','type', 695 695 * 'RAND(x)' (where 'x' is an integer seed value), 696 696 * 'comment_count', 'meta_value', 'meta_value_num', 'post__in', 697 697 * 'post_name__in', 'post_parent__in', and the array keys … … 702 702 * @type int $paged The number of the current page. 703 703 * @type int $page_id Page ID. 704 704 * @type string $pagename Page slug. 705 * @type string $type Order by post type. 706 * @type string $relevance Order by search terms in the following order: First, whether the entire sentence is matched. Second, if all the search times are within the titles. Third, if any of the search terms appear in the titles. And, fourth, if the full sentence appears in the contents. 705 707 * @type string $perm Show posts if user has the appropriate capability. 706 708 * @type string $ping_status Ping status. 707 709 * @type array $post__in An array of post IDs to retrieve, sticky posts will be included