Opened 8 years ago
Closed 7 years ago
#44608 closed defect (bug) (fixed)
Incorrect docs for `$meta_type` in `WP_Term_Query`
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.9.9 | Priority: | normal |
| Severity: | normal | Version: | 4.8 |
| Component: | Taxonomy | Keywords: | has-patch commit |
| Focuses: | docs | Cc: |
Description
The $meta_type query parameter in WP_Term_Query is documented as Type of object metadata is for (e.g., comment, post, or user).
These docs correspond to the $meta_type parameter in the *_metadata() functions. However, it looks to me like the parameter in WP_Term_Query corresponds to the $type parameter in WP_Meta_Query, which is for MySQL data types. The attached patch would update the docs to borrow the meta-query language instead.
Attachments (1)
Change History (7)
#1
@
7 years ago
- Milestone changed from Awaiting Review to 5.0
- Owner set to boonebgorges
- Status changed from new to assigned
#3
@
7 years ago
- Keywords commit fixed-major added
- Milestone changed from 5.0 to 4.9.9
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for 4.9.9 consideration.
Note: See
TracTickets for help on using
tickets.
Good catch. Introduced in [40053].