Changes between Version 1 and Version 2 of Ticket #36406, comment 11
- Timestamp:
- 07/11/2016 02:14:25 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36406, comment 11
v1 v2 3 3 > 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. 4 4 5 This is what the ticket is about and what the title says. $network_wide is not set consistently and therefore you cant rely on it. Please read my opening post again. You can exit the code after the ìf ($network_wide)` but you can't send a admin message to display a warning like "this plugin cant be activated networkwide". The problem stems from the error checking as explained in my comments 2, 3 and 6. The $network_wide argument passed to the plugin activation gets lost if the activation process raises an error.5 This is what the ticket is about and what the title says. $network_wide is not set consistently and therefore you cant rely on it. Please read my opening post again. You can exit the code after the `if ($network_wide)` but you can't send a admin message to display a warning like "this plugin cant be activated networkwide". The problem stems from the error checking as explained in my comments 2, 3 and 6. The $network_wide argument passed to the plugin activation gets lost if the activation process raises an error. 6 6