From e710e49fe0f6ba8055e34b06bfa47de2c93c00d8 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 5 Oct 2015 20:57:14 +0000 Subject: [PATCH] Include `post__in` as a value available to the `orderby` parameter in the docs for `WP_Query::parse_query()`. See #32246 git-svn-id: https://develop.svn.wordpress.org/trunk@34836 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php index b93d0276ce..69310345d5 100644 --- a/src/wp-includes/query.php +++ b/src/wp-includes/query.php @@ -1534,8 +1534,8 @@ class WP_Query { * specific `$meta_query` clause, use that clause's array key. * Default 'date'. Accepts 'none', 'name', 'author', 'date', * 'title', 'modified', 'menu_order', 'parent', 'ID', 'rand', - * 'comment_count', 'meta_value', 'meta_value_num', and the - * array keys of `$meta_query`. + * 'comment_count', 'meta_value', 'meta_value_num', 'post__in', + * and the array keys of `$meta_query`. * @type int $p Post ID. * @type int $page Show the number of posts that would show up on page X of a * static front page.