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

Fixes #41796.
Built from https://develop.svn.wordpress.org/trunk@41881


git-svn-id: http://core.svn.wordpress.org/trunk@41715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2017-10-16 18:38:48 +00:00
parent 9f73875705
commit af960204b6
2 changed files with 4 additions and 2 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

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta2-41880';
$wp_version = '4.9-beta2-41881';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.