Skip to main content

Comments 6.1

  • Added: 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.

  • Fixed: A REST comment action or bulk action with an unknown action returns a 400 instead of a 500.

  • Updated: The comments REST list caps maximum at 100 per site (was 500); larger values return a 400.

  • Updated: The all-sites REST list returns at most 100 sites per call and reports paging in the X-MainWP-Comments-* headers.

  • Updated: Invalid REST filter values return a 400 instead of being ignored.

  • Updated: REST comment reads and moderation actions require an API key tied to a user with manage_options, or to a Team Control user with assigned sites and access to the Comments extension; other keys receive a 403.

  • Updated: A comments REST read where every child site fails returns a 502 instead of an empty success.

  • Updated: REST bulk comment actions accept 1 to 100 unique comment IDs; longer lists or duplicates return a 400.

  • Updated: REST comment routes treat a site outside the user's Team Control scope as not found.

  • Updated: 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.