[wp-trac] [WordPress Trac] #64493: Plugin dependencies: better messaging or management of plugin active states
WordPress Trac
noreply at wordpress.org
Fri Jan 9 22:12:50 UTC 2026
#64493: Plugin dependencies: better messaging or management of plugin active states
-------------------------------------+-----------------------------
Reporter: joedolson | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.5
Severity: normal | Keywords:
Focuses: administration, ui-copy |
-------------------------------------+-----------------------------
Currently, if a plugin cannot be deleted due to plugin dependencies, it
has a single message that shows "Note: This plugin cannot be deactivated
or deleted until the plugins that require it are deactivated or deleted."
The message is inaccurate in two ways - you cannot delete a plugin unless
the plugins that require it are deleted; deactivating is not sufficient;
and it does not reflect the current state of the plugin. If the plugin
with dependents is already deactivated, it still states that it cannot be
deactivated.
Much of the structure of plugin dependencies seems to ignore whether a
referenced plugin is active or not.
The checks are dependent on `get_dependent_names()`, which does not
contain any reference to whether or not a plugin is active.
At minimum, the messages should be improved so that they accurately
reflect what needs to happen; alternately, the messages and states should
be matched so that the possible scenarios are reflected more accurately.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64493>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list