From 1f1adbeee80c89194d4c2ea239272cdb4701cbe4 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 18 Oct 2020 08:21:06 +0000 Subject: [PATCH] Docs: Clarify documentation for what the 'count' orderby argument represents in `WP_Term_Query`. Props jeremyescott. Fixes #44443. git-svn-id: https://develop.svn.wordpress.org/trunk@49189 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-term-query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-term-query.php b/src/wp-includes/class-wp-term-query.php index d1bb3f2b4a..a78f2e2794 100644 --- a/src/wp-includes/class-wp-term-query.php +++ b/src/wp-includes/class-wp-term-query.php @@ -100,7 +100,7 @@ class WP_Term_Query { * - term fields ('name', 'slug', 'term_group', 'term_id', 'id', * 'description', 'parent', 'term_order'). Unless `$object_ids` * is not empty, 'term_order' is treated the same as 'term_id'. - * - 'count' for term taxonomy count. + * - 'count' to use the number of objects associated with the term. * - 'include' to match the 'order' of the $include param. * - 'slug__in' to match the 'order' of the $slug param. * - 'meta_value', 'meta_value_num'.