Opened 8 years ago
Closed 8 years ago
#44608 closed defect (bug) (fixed)
Incorrect docs for `$meta_type` in `WP_Term_Query`
| Reported by: | dlh | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9.9 |
| Component: | Taxonomy | Version: | 4.8 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | docs |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Good catch. Introduced in [40053].