Add new plugin header parameter BlogOnly
|Reported by:||raido357||Owned by:|
I had a need to disable network activation for certain plugin.
There's "Network" parameter in plugin header but only make plugin network only or not. I need just the opposite, so i hacked a bit and come up with following.
I added new parameter "BlogOnly" -- don't know if it's the best word but it works.
If BlogOnly is set to "true" in plugin header, then Network activation link is not shown. Idea come from the issue with network activation in WP 3.0.1 - where activation_hooks don't fire on every blog. Yes, I am aware that there's trac ticket for this and in 3.1 probably will be fixed, but still there should be this BlogOnly option in my opinion.
I've included patches.
Maybe this could be included in WP 3.1 release ?
Change History (8)
- Keywords has-patch added; plugin disable network activation blog only removed