6.1
Latest1 new7 improvements1 fix
New
- Comments management through the MainWP Abilities API, including comment lists, individual comment details, recent synced comments, moderation actions, and previewed or confirmed permanent deletion of trashed comments.
Improved
- The comments REST list caps `maximum` at 100 per site (was 500); larger values return a 400.
- The all-sites REST list returns at most 100 sites per call and reports paging in the `X-MainWP-Comments-*` headers.
- Invalid REST filter values return a 400 instead of being ignored.
- A comments REST read where every child site fails returns a 502 instead of an empty success.
- REST bulk comment actions accept 1 to 100 unique comment IDs; longer lists or duplicates return a 400.
- REST comment routes treat a site outside the user's Team Control scope as not found.
- With an updated MainWP Child, REST comment actions return 404 `comment_not_found` for a missing comment and 409 `comment_status_conflict` for a comment the action does not apply to (for example, approving an approved comment); bulk replies list those IDs in `not_found` and `failed`.
Fixed
- A REST comment action or bulk action with an unknown action returns a 400 instead of a 500.