From 2d62b67211860bc09f63cee98d5e7a3cc0822ff4 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Wed, 23 May 2018 02:24:21 +0000 Subject: [PATCH] Taxonomy: Fix `$object_ids` reference in `WP_Term_Query` parameter documentation. Props dlh. Fixes #44200. Built from https://develop.svn.wordpress.org/trunk@43308 git-svn-id: http://core.svn.wordpress.org/trunk@43137 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-term-query.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 7431d1f5f0..9da5a20f32 100644 --- a/wp-includes/class-wp-term-query.php +++ b/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' diff --git a/wp-includes/version.php b/wp-includes/version.php index ad81fc9059..0767d4dd3e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43307'; +$wp_version = '5.0-alpha-43308'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.