Opened 8 months ago
Last modified 2 months ago
#63982 assigned defect (bug)
Comment REST API route: add support multiple statuses
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.1 | Priority: | normal |
| Severity: | normal | Version: | 5.5 |
| Component: | REST API | Keywords: | has-patch has-unit-tests needs-refresh |
| Focuses: | Cc: |
Description
## Description
- Add support for multiple statuses (an array) to the comments REST API endpoint.
- The WP_Comment_Query class already supports this, so the only change needed is to allow this parameter to be a string or an array
- Some unit tests for this would be nice
Change History (6)
This ticket was mentioned in PR #9870 on WordPress/wordpress-develop by @adamsilverstein.
8 months ago
#2
- Keywords has-patch has-unit-tests added
#3
@
6 months ago
- Keywords needs-refresh added
- Milestone changed from 6.9 to 7.0
Since Beta3 is coming soon, I'd like to punt this ticket to 7.0. At the very least, we need to resolve the conflicts in the attached pull request.
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
3 months ago
Note: See
TracTickets for help on using
tickets.
See https://github.com/WordPress/gutenberg/pull/71271
Trac ticket: https://core.trac.wordpress.org/ticket/63982