#7483 closed enhancement (fixed)
Request: Add `requires_plugins` to the Update Check API.
Reported by: | costdev | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | API | Keywords: | |
Cc: |
Description
With the addition of Plugin Dependencies in WordPress Core, it's possible that a dependent plugin may release an update that adds or changes its dependencies.
If a plugin update increases the WordPress/PHP version requirements, WordPress Core notifies the user after checking requires_php
, for example, and the update is unavailable and WordPress until are requirements are met.
requires_plugins
is already added to the Plugins API when querying information about a plugin. Can we also add it to the Update Check API? Doing so will also enable WordPress Core to prevent auto-updates of plugins, ensuring trust in the auto-updater.
Change History (5)
#2
@
8 months ago
This should be present in the API response now, give it a test and let me know if it seems to work for you.
Note: It's only present if there's an update for the plugin available.
#3
@
8 months ago
@dd32 Confirming that requires_plugins
appears in the API response when a plugin update is available.
Thanks!
In 13241: