| 24 | | However, it looks like most of these are also internal variables that a plugin should not really be concerned with, except for maybe `$network_wide`. As noted above, running any code depending on these values directly at inclusion time is bad practice that we may not necessarily want to support. As a workaround for `$network_wide`, plugins still have access to `$_GET['networkwide']`, see [21104] / #20995. |
| | 24 | However, it looks like most of these are also internal variables that a plugin should not really be concerned with, except for maybe `$network_wide`. As noted above, running any code depending on these values directly at inclusion time is bad practice that we may not necessarily want to support. As a workaround for `$network_wide`, plugins still have access to `$_GET['networkwide']`, see [21104] / #20995. An activation hook callback also receives `$network_wide` as the first argument. |