From af960204b601d2ad529ad48482f8dedcebe2fbdf Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Mon, 16 Oct 2017 18:38:48 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-term-query.php | 4 +++- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 8e7404e141..d704f5e161 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 274a73765d..a285f63d67 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.