Make WordPress Core

Opened 8 years ago

Last modified 7 years ago

#39711 new enhancement

Allow network administrator to network activate/deactivate/delete a plugin on sub site plugin list table

Reported by: mista-flo's profile Mista-Flo Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: has-patch
Focuses: multisite Cc:

Description

Hello,

Before thinking of greater enhancement about plugin management for Multisite, I would like to bring this little enhancement :

Allow network administrators (super admin by now) with the manage_network_plugins cap to network activate/deactivate/delete a plugin on the sub site plugin list table.

I just point the actions to the Network URL, so after an action is made, the user is automatically redirected to the network admin plugin page, by that, it's more easy for the admin to continue managing its network plugins if he want to do some bulk actions for example.

The only difficult point is for the Network Delete action, imagine you have a plugin which is activated in site 1 (and you're not aware of it), and you want to Delete a plugin on site 1 where this plugin is not installed, this could be dangerous. So maybe it's safer to drop this Delete action on single site. But maybe it's not so dangerous since you have the exact same behavior on Network Plugin list, you can delete a plugin which is activated on a sub site.

Attachments (3)

39711.patch (9.8 KB) - added by Mista-Flo 8 years ago.
First patch : Add network activate/deactivate/delete actions to sub site plugin list table
Plugins ‹ Primary Site — WordPress.png (208.2 KB) - added by Mista-Flo 8 years ago.
Screenshot of the submited patch
Plugins ‹ Primary Site — WordPress2.png (139.5 KB) - added by Mista-Flo 8 years ago.
Second screenshot to show Network Deactivate action

Download all attachments as: .zip

Change History (5)

@Mista-Flo
8 years ago

First patch : Add network activate/deactivate/delete actions to sub site plugin list table

@Mista-Flo
8 years ago

Screenshot of the submited patch

@Mista-Flo
8 years ago

Second screenshot to show Network Deactivate action

#1 @Mista-Flo
7 years ago

  • Keywords has-patch added

#2 @Mista-Flo
7 years ago

  • Component changed from Plugins to Networks and Sites
Note: See TracTickets for help on using tickets.