#41338 closed defect (bug) (fixed)
description of $status parameter in WP_Comment_Query::__construct() is incorrect
Reported by: | pbiron | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Comments | Keywords: | has-patch |
Focuses: | docs | Cc: |
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)
#3
@
7 years ago
- Milestone changed from Awaiting Review to 5.0
- Version changed from 4.9 to 4.1
Introduced in [30084].
#4
@
7 years ago
- Owner set to boonebgorges
- Resolution set to fixed
- Status changed from new to closed
In 42165:
#5
@
6 years ago
- Milestone changed from 5.0 to 5.0.1
- Resolution fixed deleted
- Status changed from closed to reopened
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
6 years ago
#9
@
6 years ago
- Milestone changed from 5.0.3 to 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()