Taxonomy: Add note about `$number` inconsistency to `WP_Term_Query` docs.

Fixes #41796.

git-svn-id: https://develop.svn.wordpress.org/trunk@41881 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges 2017-10-16 18:37:35 +00:00
parent f9dc276353
commit fef4f1303a
1 changed files with 3 additions and 1 deletions

View File

@ -117,7 +117,9 @@ class WP_Term_Query {
* along with all of their descendant terms. If $include is
* non-empty, $exclude_tree is ignored. Default empty array.
* @type int|string $number Maximum number of terms to return. Accepts ''|0 (all) or any
* positive number. Default ''|0 (all).
* positive number. Default ''|0 (all). Note that $number may
* not return accurate results when coupled with $object_ids.
* See #41796 for details.
* @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