#41338 closed defect (bug) (fixed)
description of $status parameter in WP_Comment_Query::__construct() is incorrect
| Reported by: | pbiron | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Comments | Version: | 4.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
The description of the $status parameter suggests that only a single status can be provided.
However, WP_Comment_Query::get_comment_ids() treats it as an array of stati (either a true array or a space/comma separated list).
The description should be updated to reflect this.
Attachments (1)
Change History (12)
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
8 years ago
#9
@
8 years ago
- Milestone 5.0.3 → 5.1
Hi,
Per today's bug scrub, let's address this ticket in the next major, 5.1, scheduled in February.
Note:
See TracTickets
for help on using tickets.
fix description of $status parameter in WP_Comment_Query::construct()