Skip to content

feat: add comment pinning, reporting, and bulk moderation API#7

Open
xavierandueza wants to merge 1 commit into
masterfrom
feature/pin-unpin-comments-and-comment-moderation
Open

feat: add comment pinning, reporting, and bulk moderation API#7
xavierandueza wants to merge 1 commit into
masterfrom
feature/pin-unpin-comments-and-comment-moderation

Conversation

@xavierandueza
Copy link
Copy Markdown
Owner

@xavierandueza xavierandueza commented Feb 12, 2026

Summary

Adds three new REST API sub-resource endpoints for the WordPress comment system:

  • Pin/Unpin — Allows moderators to pin and unpin comments, surfacing important replies at the top of comment threads.
  • Report/Flag — Lets authenticated users report comments for spam, abuse, off-topic content, or other reasons. Moderators can view all reports for a given comment.
  • Bulk Moderation — Enables moderators to approve, hold, spam, unspam, trash, or untrash multiple comments in a single request.

Also extends the existing comments functionality with:

  • pinned (boolean) and report_count (integer, edit context only) fields in the comment schema and response.
  • pinned as a valid orderby value

…dpoints

Introduces three new REST API sub-resource controllers for the comments
system: pin/unpin, report/flag, and bulk moderation. Also extends the
existing comments endpoint with pinned status and report count fields,
and adds pinned-first ordering support to WP_Comment_Query.
@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 16, 2026

📚 Documentation update workflow has been queued for reopened PR (Job ID: 69939b46baf9459143177844). The documentation bot will propose changes (if relevant) shortly.

@xavierandueza xavierandueza marked this pull request as ready for review February 16, 2026 22:36
Repository owner deleted a comment from readme-pr-app Bot Feb 16, 2026
@xavierandueza xavierandueza reopened this Feb 16, 2026
@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 16, 2026

📚 Documentation update workflow has been queued for reopened PR (Job ID: 69939ecb785ac28c8a76a7a9). The documentation bot will propose changes (if relevant) shortly.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 17, 2026

📚 Documentation update workflow has been queued for reopened PR (Job ID: 6994ebf6a0f3185b35c7674c). The documentation bot will propose changes (if relevant) shortly.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 17, 2026

📚 Documentation update workflow has been queued for reopened PR (Job ID: 6994ff48a0f3185b35c76778). The documentation bot will propose changes (if relevant) shortly.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 17, 2026

📊 PR Analysis Summary

Files Changed: 8 file(s)
Additions: +1017 lines
Deletions: -0 lines

Changed Files
  • wp-includes/class-wp-comment-query.php
  • wp-includes/comment.php
  • wp-includes/rest-api.php
  • wp-includes/rest-api/endpoints/class-wp-rest-comment-bulk-controller.php
  • wp-includes/rest-api/endpoints/class-wp-rest-comment-pins-controller.php
  • wp-includes/rest-api/endpoints/class-wp-rest-comment-reports-controller.php
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
  • wp-settings.php

Relevant Documentation Pages

Docs impacted by this PR
  • updatecomment
  • updatepost
  • createcomment
  • listcomments
  • createpost
  • getcomment
  • admin-site-architecture
  • themes-privacy

✅ Documentation Changes Applied

🔗 View changes in ReadMe


This analysis was automatically generated by the ReadMe AI Documentation Bot.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 20, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 24, 2026

📚 No documentation updates were needed for this PR.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 24, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 24, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-agent-staging
Copy link
Copy Markdown

readme-agent-staging Bot commented Mar 5, 2026

📚 No documentation changes were needed for this PR (Job ID: 69aa0983d1dad39485187e38).

@readme-agent-staging
Copy link
Copy Markdown

📚 Analyzing PR for documentation updates...

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 12, 2026

Documentation Changes Added

Page Section Action Preview
deletecommentAPI Reference🔵 UpdatedPreview
pincommentAPI Reference🟢 CreatedPreview
unpincommentAPI Reference🟢 CreatedPreview
reportcommentAPI Reference🟢 CreatedPreview
listcommentreportsAPI Reference🟢 CreatedPreview
bulkmoderatecommentsAPI Reference🟢 CreatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

📚 Analyzing PR for documentation updates...

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 16, 2026

Documentation Changes Added

Page Section Action Preview
listcommentsAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
deletecommentAPI Reference🔵 UpdatedPreview
pincommentAPI Reference🟢 CreatedPreview
unpincommentAPI Reference🟢 CreatedPreview
reportcommentAPI Reference🟢 CreatedPreview
listcommentreportsAPI Reference🟢 CreatedPreview
bulkmoderatecommentsAPI Reference🟢 CreatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

📚 Analyzing PR for documentation updates...

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 17, 2026

Documentation Changes Added

Page Section Action Preview
listcommentsAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
deletecommentAPI Reference🔵 UpdatedPreview
pincommentAPI Reference🟢 CreatedPreview
unpincommentAPI Reference🟢 CreatedPreview
reportcommentAPI Reference🟢 CreatedPreview
listcommentreportsAPI Reference🟢 CreatedPreview
bulkmoderatecommentsAPI Reference🟢 CreatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

📚 Analyzing PR for documentation updates...

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 17, 2026

Documentation Changes Added

Page Section Action Preview
listcommentsAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
deletecommentAPI Reference🔵 UpdatedPreview
pincommentAPI Reference🟢 CreatedPreview
unpincommentAPI Reference🟢 CreatedPreview
reportcommentAPI Reference🟢 CreatedPreview
listcommentreportsAPI Reference🟢 CreatedPreview
bulkmoderatecommentsAPI Reference🟢 CreatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

📚 Analyzing PR for documentation updates...

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 18, 2026

⚠️ The documentation bot was unable to process documentation updates (Job ID: 69b9f3f28f35cdce294f3dbd).

You can re-trigger by reopening this PR.

@readme-agent-staging
Copy link
Copy Markdown

📚 Analyzing PR for documentation updates...

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 18, 2026

Documentation Changes Added

Page Section Action Preview
listcommentsAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
deletecommentAPI Reference🔵 UpdatedPreview
comment-pinsAPI Reference🟢 CreatedPreview
comment-reportsAPI Reference🟢 CreatedPreview
comment-bulk-actionsAPI Reference🟢 CreatedPreview
pincommentAPI Reference🟢 CreatedPreview
unpincommentAPI Reference🟢 CreatedPreview
reportcommentAPI Reference🟢 CreatedPreview
listcommentreportsAPI Reference🟢 CreatedPreview
bulkmoderatecommentsAPI Reference🟢 CreatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

📚 Analyzing PR for documentation updates...

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 18, 2026

⚠️ The documentation bot was unable to apply documentation updates (Job ID: 69ba2904330f637e00d22a32).

You can re-trigger by reopening this PR.

@readme-agent-staging
Copy link
Copy Markdown

readme-agent-staging Bot commented Mar 24, 2026

⚠️ The documentation bot was unable to apply documentation updates (Job ID: 69c20ead7788d5197cc542f3).

You can re-trigger by reopening this PR.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 24, 2026

Documentation Changes Added

Page Section Action Preview
listcommentsAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
deletecommentAPI Reference🔵 UpdatedPreview
comment-pinsAPI Reference🟢 CreatedPreview
pincommentAPI Reference🟢 CreatedPreview
unpincommentAPI Reference🟢 CreatedPreview
comment-reportsAPI Reference🟢 CreatedPreview
reportcommentAPI Reference🟢 CreatedPreview
listcommentreportsAPI Reference🟢 CreatedPreview
comment-bulk-actionsAPI Reference🟢 CreatedPreview
bulkmoderatecommentsAPI Reference🟢 CreatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

readme-agent-staging Bot commented Mar 24, 2026

⚠️ The documentation bot was unable to apply documentation updates (Job ID: 69c2102e7788d5197cc54324).

You can re-trigger by reopening this PR.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 24, 2026

Documentation Changes Added

Page Section Action Preview
listcommentsAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
deletecommentAPI Reference🔵 UpdatedPreview
comment-pinsAPI Reference🟢 CreatedPreview
pincommentAPI Reference🟢 CreatedPreview
unpincommentAPI Reference🟢 CreatedPreview
comment-reportsAPI Reference🟢 CreatedPreview
reportcommentAPI Reference🟢 CreatedPreview
listcommentreportsAPI Reference🟢 CreatedPreview
comment-bulk-actionsAPI Reference🟢 CreatedPreview
bulkmoderatecommentsAPI Reference🟢 CreatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

readme-agent-staging Bot commented Mar 24, 2026

⚠️ The documentation bot was unable to apply documentation updates (Job ID: 69c213a27788d5197cc5434a).

You can re-trigger by reopening this PR.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 24, 2026

Documentation Changes Added

Page Section Action Preview
listcommentsAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
deletecommentAPI Reference🔵 UpdatedPreview
comment-pinsAPI Reference🟢 CreatedPreview
pincommentAPI Reference🟢 CreatedPreview
unpincommentAPI Reference🟢 CreatedPreview
comment-reportsAPI Reference🟢 CreatedPreview
reportcommentAPI Reference🟢 CreatedPreview
listcommentreportsAPI Reference🟢 CreatedPreview
comment-bulk-actionsAPI Reference🟢 CreatedPreview
bulkmoderatecommentsAPI Reference🟢 CreatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

readme-agent-staging Bot commented Mar 26, 2026

📚 No documentation updates were needed for this PR.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 26, 2026

Documentation Changes Added

Page Section Action Summary
listcommentsAPI Reference📝 UpdatedAdded pinned to orderby enum, added pinned and report_count to response schema/examples/TypeScript interface, and added cross-links to new pin, report, and bulk moderation endpoints.
getcommentAPI Reference📝 UpdatedAdded pinned and report_count fields to response example and TypeScript interface, and added cross-links to new pin, report, and bulk moderation endpoints.
createcommentAPI Reference📝 UpdatedAdded pinned and report_count fields to response example and TypeScript interface, and added cross-links to new pin, report, and bulk moderation endpoints.
updatecommentAPI Reference📝 UpdatedAdded pinned and report_count fields to response example and TypeScript interface, and added cross-links to new pin, report, and bulk moderation endpoints.
deletecommentAPI Reference📝 UpdatedAdded pinned and report_count fields to response example and TypeScript interface, and added cross-links to new pin, report, and bulk moderation endpoints.
pincommentAPI Reference🆕 CreatedCreated new API reference page for the pin/unpin comment endpoint (POST/DELETE /wp/v2/comments/{id}/pin).
reportcommentAPI Reference🆕 CreatedCreated new API reference page for the report comment endpoint (POST/GET /wp/v2/comments/{id}/reports).
bulkmoderatecommentsAPI Reference🆕 CreatedCreated new API reference page for the bulk moderate comments endpoint (POST /wp/v2/comments/bulk).

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 1, 2026

Documentation Changes Added

Page Section Action Summary
listcommentsAPI Reference📝 UpdatedAdded pinned and report_count fields to TypeScript interface, response example, and added pinned as orderby value; updated Cards to include new pin, report, and bulk moderation endpoints.
createcommentAPI Reference📝 UpdatedAdded pinned and report_count fields to TypeScript interface and response example; updated Cards to include new pin, report, and bulk moderation endpoints.
getcommentAPI Reference📝 UpdatedAdded pinned and report_count fields to TypeScript interface and response example; updated Cards to include new pin, report, and bulk moderation endpoints.
updatecommentAPI Reference📝 UpdatedAdded pinned and report_count fields to TypeScript interface and response example; updated Cards to include new pin, report, and bulk moderation endpoints.
deletecommentAPI Reference📝 UpdatedAdded pinned and report_count fields to TypeScript interface and response example; updated Cards to include new pin, report, and bulk moderation endpoints.
pincommentAPI Reference🆕 CreatedCreated new reference page for the Pin a comment endpoint (POST /wp/v2/comments/{id}/pin).
unpincommentAPI Reference🆕 CreatedCreated new reference page for the Unpin a comment endpoint (DELETE /wp/v2/comments/{id}/pin).
reportcommentAPI Reference🆕 CreatedCreated new reference page for the Report a comment endpoint (POST /wp/v2/comments/{id}/reports).
listcommentreportsAPI Reference🆕 CreatedCreated new reference page for the List comment reports endpoint (GET /wp/v2/comments/{id}/reports).
bulkmoderatecommentsAPI Reference🆕 CreatedCreated new reference page for the Bulk moderate comments endpoint (POST /wp/v2/comments/bulk).

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 1, 2026

Documentation Changes Added

Page Section Action Summary
listcommentsAPI Reference📝 UpdatedAdd pinned and report_count fields to response examples, TypeScript interface, and Cards linking to new comment endpoints.
createcommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, update Cards with new comment endpoints.
getcommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, update Cards with new comment endpoints.
updatecommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, update Cards with new comment endpoints.
deletecommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, update Cards with new comment endpoints.
pincommentAPI Reference🆕 CreatedCreate new API reference page for the Pin a comment endpoint (POST /wp/v2/comments/{id}/pin).
unpincommentAPI Reference🆕 CreatedCreate new API reference page for the Unpin a comment endpoint (DELETE /wp/v2/comments/{id}/pin).
reportcommentAPI Reference🆕 CreatedCreate new API reference page for the Report a comment endpoint (POST /wp/v2/comments/{id}/reports).
listcommentreportsAPI Reference🆕 CreatedCreate new API reference page for the List comment reports endpoint (GET /wp/v2/comments/{id}/reports).
bulkmoderatecommentsAPI Reference🆕 CreatedCreate new API reference page for the Bulk moderate comments endpoint (POST /wp/v2/comments/bulk).

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 2, 2026

Documentation Changes Added

Page Section Action Summary
listcommentsAPI Reference📝 UpdatedAdded pinned and report_count fields to response examples and TypeScript interfaces, added pinned as orderby value, and added cards linking to new comment sub-resource endpoints.
createcommentAPI Reference📝 UpdatedAdded pinned and report_count fields to response examples and TypeScript interfaces, and added cards linking to new comment sub-resource endpoints.
getcommentAPI Reference📝 UpdatedAdded pinned and report_count fields to response examples and TypeScript interfaces, and added cards linking to new comment sub-resource endpoints.
updatecommentAPI Reference📝 UpdatedAdded pinned and report_count fields to response examples and TypeScript interfaces, and added cards linking to new comment sub-resource endpoints.
deletecommentAPI Reference📝 UpdatedAdded pinned and report_count fields to response examples and TypeScript interfaces, and added cards linking to new comment sub-resource endpoints.
comment-pinsAPI Reference🆕 CreatedCreated parent page for Comment Pins API resource group.
pincommentAPI Reference🆕 CreatedCreated API reference page for the Pin a comment endpoint (POST /wp/v2/comments/{id}/pin).
unpincommentAPI Reference🆕 CreatedCreated API reference page for the Unpin a comment endpoint (DELETE /wp/v2/comments/{id}/pin).
comment-reportsAPI Reference🆕 CreatedCreated parent page for Comment Reports API resource group.
reportcommentAPI Reference🆕 CreatedCreated API reference page for the Report a comment endpoint (POST /wp/v2/comments/{id}/reports).
listcommentreportsAPI Reference🆕 CreatedCreated API reference page for the List comment reports endpoint (GET /wp/v2/comments/{id}/reports).
comment-bulk-actionsAPI Reference🆕 CreatedCreated parent page for Comment Bulk Actions API resource group.
bulkmoderatecommentsAPI Reference🆕 CreatedCreated API reference page for the Bulk moderate comments endpoint (POST /wp/v2/comments/bulk).
getcommentAPI Reference📝 UpdatedUpdated OAS definition to include pinned and report_count response fields.
createcommentAPI Reference📝 UpdatedUpdated OAS definition to include pinned and report_count response fields.
updatecommentAPI Reference📝 UpdatedUpdated OAS definition to include pinned and report_count response fields.
deletecommentAPI Reference📝 UpdatedUpdated OAS definition to include pinned and report_count response fields.

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 8, 2026

📚 Analyzing PR for documentation updates...

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 10, 2026

Documentation Changes Added

Page Section Action Summary
listcommentsAPI Reference📝 UpdatedAdd pinned and report_count fields to response examples, TypeScript interfaces, and update OAS with new orderby=pinned parameter and new response fields.
getcommentAPI Reference📝 UpdatedAdd pinned field to the response example JSON.
createcommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example, TypeScript interface, OAS, and add links to new pin/report endpoints.
updatecommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example, TypeScript interface, OAS, and add links to new pin/report endpoints.
deletecommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example, TypeScript interface, OAS, and add links to new pin/report endpoints.
comment-pinsAPI Reference🆕 CreatedCreate parent page for comment pin/unpin endpoints.
pincommentAPI Reference🆕 CreatedCreate API reference page for the pin comment endpoint (POST /wp/v2/comments/{id}/pin).
unpincommentAPI Reference🆕 CreatedCreate API reference page for the unpin comment endpoint (DELETE /wp/v2/comments/{id}/pin).
comment-reportsAPI Reference🆕 CreatedCreate parent page for comment report endpoints.
reportcommentAPI Reference🆕 CreatedCreate API reference page for the report comment endpoint (POST /wp/v2/comments/{id}/reports).
listcommentreportsAPI Reference🆕 CreatedCreate API reference page for the list comment reports endpoint (GET /wp/v2/comments/{id}/reports).
comment-bulk-actionsAPI Reference🆕 CreatedCreate parent page for comment bulk moderation endpoints.
bulkmoderatecommentsAPI Reference🆕 CreatedCreate API reference page for the bulk moderate comments endpoint (POST /wp/v2/comments/bulk).

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 24, 2026

Documentation Changes Added

Page Section Action Summary
listcommentsAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, add pinned to orderby in OAS, and add Cards for new comment sub-resource endpoints.
createcommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, and add Cards for new comment sub-resource endpoints.
getcommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, and add Cards for new comment sub-resource endpoints.
updatecommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, and add Cards for new comment sub-resource endpoints.
deletecommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, and add Cards for new comment sub-resource endpoints.
comment-pinsAPI Reference🆕 CreatedCreate parent page for comment pin/unpin endpoints.
comment-reportsAPI Reference🆕 CreatedCreate parent page for comment report endpoints.
comment-bulk-actionsAPI Reference🆕 CreatedCreate parent page for comment bulk moderation endpoints.
pincommentAPI Reference🆕 CreatedCreate API reference page for the Pin a comment endpoint (POST /wp/v2/comments/{id}/pin).
unpincommentAPI Reference🆕 CreatedCreate API reference page for the Unpin a comment endpoint (DELETE /wp/v2/comments/{id}/pin).
reportcommentAPI Reference🆕 CreatedCreate API reference page for the Report a comment endpoint (POST /wp/v2/comments/{id}/reports).
listcommentreportsAPI Reference🆕 CreatedCreate API reference page for the List comment reports endpoint (GET /wp/v2/comments/{id}/reports).
bulkmoderatecommentsAPI Reference🆕 CreatedCreate API reference page for the Bulk moderate comments endpoint (POST /wp/v2/comments/bulk).

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

If neither actions are selected, on PR close/merge the docs branch in ReadMe will remain open.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 24, 2026

Documentation Changes Added

Page Section Action Summary
listcommentsAPI Reference📝 UpdatedAdd pinned and report_count fields to response example and TypeScript interface, add pinned as orderby value in OAS definition.
createcommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example, TypeScript interface, and OAS definition.
getcommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example, TypeScript interface, and OAS definition.
updatecommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example, TypeScript interface, and OAS definition.
deletecommentAPI Reference📝 UpdatedAdd pinned and report_count fields to response example, TypeScript interface, and OAS definition.
comment-pinsAPI Reference🆕 CreatedCreate parent page for comment pin/unpin API endpoints.
pincommentAPI Reference🆕 CreatedCreate API reference page for the Pin a comment endpoint (POST /wp/v2/comments/{id}/pin).
unpincommentAPI Reference🆕 CreatedCreate API reference page for the Unpin a comment endpoint (DELETE /wp/v2/comments/{id}/pin).
comment-reportsAPI Reference🆕 CreatedCreate parent page for comment reporting API endpoints.
reportcommentAPI Reference🆕 CreatedCreate API reference page for the Report a comment endpoint (POST /wp/v2/comments/{id}/reports).
listcommentreportsAPI Reference🆕 CreatedCreate API reference page for the List comment reports endpoint (GET /wp/v2/comments/{id}/reports).
comment-bulk-actionsAPI Reference🆕 CreatedCreate parent page for comment bulk moderation API endpoints.
bulkmoderatecommentsAPI Reference🆕 CreatedCreate API reference page for the Bulk moderate comments endpoint (POST /wp/v2/comments/bulk).

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

If neither actions are selected, on PR close/merge the docs branch in ReadMe will remain open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant