From 0cbc8098d20fe091dca119fb6cfd1e5768fd1242 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Tue, 28 Oct 2014 21:25:30 +0000 Subject: [PATCH] Update inline docs for [30052]. Fixes #23261. git-svn-id: https://develop.svn.wordpress.org/trunk@30077 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 22d74cd23e..7f037cb0e8 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -1573,8 +1573,10 @@ function get_term_to_edit( $id, $taxonomy ) { * @param array|string $args { * Optional. Array or string of arguments to get terms. * - * @type string $orderby Field(s) to order terms by. Accepts term fields, though - * empty defaults to 'term_id'. Default 'name'. + * @type string $orderby Field(s) to order terms by. Accepts term fields ('name', 'slug', + * 'term_group', 'term_id', 'id'), 'count' for term taxonomy count, + * 'include' to match the 'order' of the $include param, or 'none' + * to skip ORDER BY. Defaults to 'name'. * @type string $order Whether to order terms in ascending or descending order. * Accepts 'ASC' (ascending) or 'DESC' (descending). * Default 'ASC'.