[wp-trac] [WordPress Trac] #64493: Plugin dependencies: better messaging or management of plugin active states

WordPress Trac noreply at wordpress.org
Mon Jan 19 17:46:02 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:  Plugins       |     Version:  6.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration, ui-copy
--------------------------+--------------------------------------
Changes (by solankisoftware):

 * keywords:   => has-patch


Comment:

 The dependency note shown in the Plugins list table currently states that
 both
 deactivation and deletion are blocked, which is misleading.

 This patch updates add_dependents_to_dependency_plugin_row() to
 distinguish
 between:
 - blocking deactivation when dependent plugins are active, and
 - blocking deletion when dependents exist but are inactive.

 The change reuses WP_Plugin_Dependencies::has_active_dependents() and is
 messaging-only.
 Patch attached.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64493#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list