Opened 5 months ago
Last modified 3 months ago
#63982 assigned defect (bug)
Comment REST API route: add support multiple statuses
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | 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 (3)
This ticket was mentioned in PR #9870 on WordPress/wordpress-develop by @adamsilverstein.
5 months ago
#2
- Keywords has-patch has-unit-tests added
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