Skip to content

Commit acebda9

Browse files
committed
Taxonomy: Fix $object_ids reference in WP_Term_Query parameter documentation.
Props dlh. Fixes #44200. git-svn-id: https://develop.svn.wordpress.org/trunk@43308 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 879453d commit acebda9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/class-wp-term-query.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ class WP_Term_Query {
123123
* @type int $offset The number by which to offset the terms query. Default empty.
124124
* @type string $fields Term fields to query for. Accepts 'all' (returns an array of
125125
* complete term objects), 'all_with_object_id' (returns an
126-
* array of term objects with the 'object_id' param; only works
127-
* when the `$fields` parameter is 'object_ids' ), 'ids'
126+
* array of term objects with the 'object_id' param; works only
127+
* when the `$object_ids` parameter is populated), 'ids'
128128
* (returns an array of ids), 'tt_ids' (returns an array of
129129
* term taxonomy ids), 'id=>parent' (returns an associative
130130
* array with ids as keys, parent term IDs as values), 'names'

0 commit comments

Comments
 (0)