Opened 9 years ago
Closed 9 years ago
#38963 closed defect (bug) (fixed)
Inline documentation for the $query param of WP_Query::query() are wrong.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.8 | Priority: | normal |
| Severity: | normal | Version: | 1.5 |
| Component: | Query | Keywords: | has-patch |
| Focuses: | docs | Cc: |
Description
In the WP_Query class, the method query has a parameter $query. It's inline docs indicate it can only be a string. It can be a string or array.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Good catch. Thanks for the patch.