Docs: Document the `term_order` value for the `orderby` parameter of `WP_Term_Query::__construct()`.

Props pbiron.
See #49572.
Built from https://develop.svn.wordpress.org/trunk@47898


git-svn-id: http://core.svn.wordpress.org/trunk@47672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-06-03 14:41:06 +00:00
parent 5636fb886b
commit 353def14e2
2 changed files with 3 additions and 2 deletions

View File

@ -98,7 +98,8 @@ class WP_Term_Query {
* 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', 'parent').
* 'description', 'parent', 'term_order'). Unless `$object_ids`
* is not empty, 'term_order' is treated the same as 'term_id'.
* - 'count' for term taxonomy count.
* - 'include' to match the 'order' of the $include param.
* - 'slug__in' to match the 'order' of the $slug param.

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-47897';
$wp_version = '5.5-alpha-47898';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.