diff --git a/src/wp-includes/class-wp-term-query.php b/src/wp-includes/class-wp-term-query.php index 7431d1f5f0..9da5a20f32 100644 --- a/src/wp-includes/class-wp-term-query.php +++ b/src/wp-includes/class-wp-term-query.php @@ -123,8 +123,8 @@ class WP_Term_Query { * @type int $offset The number by which to offset the terms query. Default empty. * @type string $fields Term fields to query for. Accepts 'all' (returns an array of * complete term objects), 'all_with_object_id' (returns an - * array of term objects with the 'object_id' param; only works - * when the `$fields` parameter is 'object_ids' ), 'ids' + * array of term objects with the 'object_id' param; works only + * when the `$object_ids` parameter is populated), 'ids' * (returns an array of ids), 'tt_ids' (returns an array of * term taxonomy ids), 'id=>parent' (returns an associative * array with ids as keys, parent term IDs as values), 'names'