[wp-trac] [WordPress Trac] #53255: WordPress multisite allows you to delete plugins which are active on some subdomains

WordPress Trac noreply at wordpress.org
Thu Jun 4 12:53:45 UTC 2026


#53255: WordPress multisite allows you to delete plugins which are active on some
subdomains
-------------------------------------+-------------------------------------
 Reporter:  denisflorin197           |       Owner:  (none)
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Plugins                  |     Version:  4.6
 Severity:  critical                 |  Resolution:
 Keywords:  has-patch 2nd-opinion    |     Focuses:  administration,
  has-unit-tests has-screenshots     |  multisite
-------------------------------------+-------------------------------------
Changes (by tippl):

 * keywords:  needs-patch => has-patch 2nd-opinion has-unit-tests has-
     screenshots


Comment:

 Added patch that:
 - Blocks deletion when plugin is active on subsites
 - Shows "Active on X sites" instead of delete link
 - Adds note when plugin has dependents AND is active on subsites
 - Counts main site + subsites correctly

 Please give feedback:
 - first solution disabled "delete"
 - 2nd solution with amount of sites

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


More information about the wp-trac mailing list