Plugin Directory: New endpoint to assign reviewer and set status to pending#570
Plugin Directory: New endpoint to assign reviewer and set status to pending#570frantorres wants to merge 6 commits intoWordPress:trunkfrom
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
...press.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin-review.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
This PR adds an internal REST API endpoint to streamline the reviewer workflow by allowing a reviewer to assign themselves to a newly submitted plugin and move it into the pending state.
Changes:
- Added a new
plugins/v1/plugin-review/{plugin_id}/assignREST endpoint. - Implemented permission and handler methods to transition
new→pendingand set the assigned reviewer.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The internal reviewer tools can now send the initial review emails either automatically and/or after reviewer confirmation.
By introducing an endpoint to assign items and mark plugins as pending, the team can work much more efficiently.
Reviewers will no longer need to switch between windows or wait for the browser to respond to confirm changes. This also reduces errors, as reviewers often begin the next review while waiting, which can sometimes lead to mix up different plugins.