feat: add comment pinning, reporting, and bulk moderation API#7
feat: add comment pinning, reporting, and bulk moderation API#7xavierandueza wants to merge 1 commit into
Conversation
…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.
|
📚 Documentation update workflow has been queued for reopened PR (Job ID: |
|
📚 Documentation update workflow has been queued for reopened PR (Job ID: |
|
📚 Documentation update workflow has been queued for reopened PR (Job ID: |
|
📚 Documentation update workflow has been queued for reopened PR (Job ID: |
📊 PR Analysis SummaryFiles Changed: 8 file(s) Changed Files
Relevant Documentation PagesDocs impacted by this PR
✅ Documentation Changes Applied
This analysis was automatically generated by the ReadMe AI Documentation Bot. |
📚 Documentation Changes Applied
|
|
📚 No documentation updates were needed for this PR. |
📚 Documentation Changes Applied
|
📚 Documentation Changes Applied
|
|
📚 No documentation changes were needed for this PR (Job ID: |
|
📚 Analyzing PR for documentation updates... |
|
Documentation Changes Added
Actions
|
|
📚 Analyzing PR for documentation updates... |
|
Documentation Changes Added
Actions
|
|
📚 Analyzing PR for documentation updates... |
|
Documentation Changes Added
Actions
|
|
📚 Analyzing PR for documentation updates... |
|
Documentation Changes Added
Actions
|
|
📚 Analyzing PR for documentation updates... |
|
You can re-trigger by reopening this PR. |
|
📚 Analyzing PR for documentation updates... |
|
Documentation Changes Added
Actions
|
|
📚 Analyzing PR for documentation updates... |
|
You can re-trigger by reopening this PR. |
|
You can re-trigger by reopening this PR. |
|
Documentation Changes Added
Actions
|
|
You can re-trigger by reopening this PR. |
|
Documentation Changes Added
Actions
|
|
You can re-trigger by reopening this PR. |
|
Documentation Changes Added
Actions
|
|
📚 No documentation updates were needed for this PR. |
|
Documentation Changes Added
Actions
|
|
Documentation Changes Added
Actions
|
|
Documentation Changes Added
Actions
|
|
Documentation Changes Added
Actions
|
|
📚 Analyzing PR for documentation updates... |
|
Documentation Changes Added
Actions
|
|
Documentation Changes Added
Actions
If neither actions are selected, on PR close/merge the docs branch in ReadMe will remain open. |
|
Documentation Changes Added
Actions
If neither actions are selected, on PR close/merge the docs branch in ReadMe will remain open. |
Summary
Adds three new REST API sub-resource endpoints for the WordPress comment system:
Also extends the existing comments functionality with:
pinned(boolean) andreport_count(integer, edit context only) fields in the comment schema and response.pinnedas a validorderbyvalue