feat: list plugins with version, activation and update state - #1
Open
ShunLuk wants to merge 2 commits into
Open
Conversation
ShunLuk
requested review from
a team,
Rovasch,
SimonvanWijhe,
dtakken,
ictbeheer,
mvdhoek1 and
rivanuff
and
a lite review from Copilot
and removed request for
a team
September 3, 2026 10:09
There was a problem hiding this comment.
🟡 Changes recommended
The new plugins data function currently has runtime-breaking issues (missing return for an array-typed function and unsafe transient dereference) that can fatal the REST endpoint.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds a new REST API endpoint to expose an inventory of installed plugins, including version, activation state (site/network), and whether updates are available, complementing the existing relay/v1/core diagnostics endpoint.
Changes:
- Add
relay_get_plugins()to collect plugin metadata plus activation and update availability details. - Register a new
relay/v1/pluginsGET endpoint and implementrelay_rest_plugins()to return that data.
File summaries
| File | Description |
|---|---|
| includes/relay-data.php | Adds plugin inventory collection logic (name/version/active/network active/update info). |
| includes/relay-api.php | Registers the plugins REST route and implements the REST callback to return plugin data. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 4
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
ShunLuk
force-pushed
the
feat/list-plugins
branch
from
September 3, 2026 11:27
560ceb4 to
9748c45
Compare
ShunLuk
force-pushed
the
feat/list-plugins
branch
from
September 3, 2026 11:35
9748c45 to
4b2f75e
Compare
SimonvanWijhe
requested changes
Sep 3, 2026
Member
|
Wil je de Features-lijst in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.