Skip to content

Provide a public new-queue count endpoint - #760

Open
davidperezgar wants to merge 1 commit into
WordPress:trunkfrom
davidperezgar:plugin-directory-queue-stats
Open

Provide a public new-queue count endpoint#760
davidperezgar wants to merge 1 commit into
WordPress:trunkfrom
davidperezgar:plugin-directory-queue-stats

Conversation

@davidperezgar

Copy link
Copy Markdown
Member

Summary

  • Adds a public GET /plugins/wp-json/plugins/v1/stats/new-queue-count endpoint.
  • Returns only the aggregate number of plugins awaiting initial review.
  • Removes the need for a user-scoped Application Password to retrieve this metric.
  • Adds REST API coverage for the endpoint.

Testing

  • php -l on changed PHP files
  • PHPCS on new files

Closes #758

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

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 props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props davidperez, obenland.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@obenland

obenland commented Aug 4, 2026

Copy link
Copy Markdown
Member

@davidperezgar Looks like this needs a rebase.

There's no other endpoint this can be folded into?

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.

Provide a low-privilege endpoint for the Plugins Team new-queue count

2 participants