Make WordPress Core

Opened 5 years ago

Closed 2 years ago

Last modified 2 years ago

#41233 closed enhancement (duplicate)

Plugin activation / deactivation is a pain for network.

Reported by: MaximeCulea Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9
Component: Networks and Sites Keywords:
Focuses: multisite Cc:


I think plugin activation / deactivation is a pain for network, as hooks are not correctly launched.

Even if the $network_wide parameter passed to the activation/deactivation hook determines whatever to do, there are still cases when it's not working.

We also have to think about one though, which is when creating a new site. It's indeed tricky.

I am using this plugin to manage this, and some times I am doing it programmatically, which is the next way :

I do it by using REST API and/or cron, to iterate each sites of the network for wanted plugin activation / deactivation.

Change History (4)

#1 @flixos90
5 years ago

Related: #37656

#2 @MaximeCulea
4 years ago

Ok then @flixos90, do we need to close this ticket ?

#3 @MaximeCulea
2 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #37656.

#4 @desrosj
2 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.