#44200 closed defect (bug) (fixed)
Jumbled parameter documentation in `WP_Term_Query`
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
The WP_Term_Query::$fields
parameter is currently documented as accepting:
'all_with_object_id' (returns an array of term objects with the 'object_id' param; only works when the
$fields
parameter is 'object_ids' )
But I'm not sure how that could be the case. It looks to me like the intent is to note that all_with_object_id
works only when the $object_ids
parameter is passed.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
@dlh You read my mind. Thanks for the patch.