From 39d2d9f19e705aa58fb140b354bc58e7d7ff454f Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 13 Jun 2017 03:11:40 +0000 Subject: [PATCH] Docs: Include 'parent' as an acceptable entry for the `$orderby` argument in `WP_Term_Query`. h/t kalor. See #41017. Built from https://develop.svn.wordpress.org/trunk@40900 git-svn-id: http://core.svn.wordpress.org/trunk@40750 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-term-query.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 74386bc9ab..2f3da47301 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -104,7 +104,7 @@ class WP_Term_Query { * @type int|array $object_ids Optional. Object ID, or array of object IDs. Results will be * limited to terms associated with these objects. * @type string $orderby Field(s) to order terms by. Accepts term fields ('name', - * 'slug', 'term_group', 'term_id', 'id', 'description'), + * 'slug', 'term_group', 'term_id', 'id', 'description', 'parent'), * 'count' for term taxonomy count, 'include' to match the * 'order' of the $include param, 'meta_value', 'meta_value_num', * the value of `$meta_key`, the array keys of `$meta_query`, or diff --git a/wp-includes/version.php b/wp-includes/version.php index 662d613366..fc9e0df476 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40899'; +$wp_version = '4.9-alpha-40900'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.