[wp-trac] [WordPress Trac] #36406: $network_wide is unreliable

WordPress Trac noreply at wordpress.org
Mon Jul 11 13:06:13 UTC 2016

#36406: $network_wide is unreliable
 Reporter:  mensmaximus   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Plugins       |     Version:  4.4.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  multisite

Comment (by earnjam):

 If I'm reading this correctly, you want to add support in core for plugin
 authors to prevent network activation of their plugins? Right now this
 could be done manually within the code of the plugin, but you would like
 to facilitate this by supporting it directly within core?

 I could see maybe something like the opposite of the `Network: true`

 So you could have 3 options for plugins on multisite:
 1. Network activation only
 2. Individual site activation only
 3. Either network or individual site activations

 Right now 3 is the default and 1 is possible if the `Network: true` header
 is set. I could see declaring `Network: false` as serving that purpose.

 I could work on a patch for this ticket, but want to make sure I
 understand your goal.

Ticket URL: <https://core.trac.wordpress.org/ticket/36406#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list