diff --git src/wp-includes/class-wp-query.php src/wp-includes/class-wp-query.php
index 47b8fc793d..eb68f219ce 100644
|
|
class WP_Query { |
690 | 690 | * passed. To use 'meta_value', or 'meta_value_num', |
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 | | * Default 'date'. Accepts 'none', 'name', 'author', 'date', |
694 | | * 'title', 'modified', 'menu_order', 'parent', 'ID', 'rand', |
695 | | * 'RAND(x)' (where 'x' is an integer seed value), |
| 693 | * Accepts 'none', 'name', 'author', 'date', 'title', |
| 694 | * 'modified', 'menu_order', 'parent', 'ID', 'rand', |
| 695 | * 'relevance', '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 |
698 | | * of `$meta_query`. |
| 698 | * of `$meta_query`. Default is 'date', except when a search |
| 699 | * is being performed, when the default is 'relevance'. |
| 700 | * |
699 | 701 | * @type int $p Post ID. |
700 | 702 | * @type int $page Show the number of posts that would show up on page X of a |
701 | 703 | * static front page. |