- Contributors: afragen, costdev, pbiron
- Description: Add plugin install dependencies tab, support for non dot org plugin cards, and information about dependencies.
- License: MIT
- Network: true
- Requires at least: 6.5
- Requires PHP: 8.0
- Stable release: main
An add-on the the Plugin Dependencies feature. Adds a Dependencies tab in the plugin install page. Adds support for non dot org plugin cards. If a requiring plugin does not have all its dependencies installed and active, it will not activate.
- Plugins not in dot org may use the format
<slug>|<URI>
in the Requires Plugins header.URI
should return a JSON compatible with theplugins_api()
response or be a JSON file at the plugin root,<slug>|<slug>.json
. - Adds a new view/tab to plugins install page ( Plugins > Add New ) titled Dependencies that contains plugin cards for all plugin dependencies.
- Displays a single admin notice with link to Plugins > Add New > Dependencies if not all plugin dependencies have been installed.
- If the dependency API data is not available a generic plugin card will be displayed in the Dependencies tab.
There are several single file plugins that may be used for testing in test-plugins/
.
PRs should be made against the develop
branch.