Deprecate Site Wide Only: true in favor of Network: true
|Reported by:||wpmuguru||Owned by:||westi|
1- Currently network only plugins are recognized by
Site Wide Only: true
We should add support for network only so site wide only can be deprecated in a future version.
Network Only: true
2-When activated, network only plugins are added to the active plugins list on the blog/site and the network meta active_sitewide_plugins. If the plugin file is missing, it is removed from the active plugins but left in the active sitewide plugins. Until the plugin file is restored and deactivated, the super admin has an error message on the plugins screen whenever they visit it:
The plugin 1265383606 has been deactivated due to an error: Plugin file does not exist.
(Note also that is a timestamp vs the plugin name.)
When a network plugin is activated, it does not need to be added to the active plugins list on the site/blog.
Change History (16)
- Milestone changed from 3.0 to Future Release
- Summary changed from Network plugins do not deactivate correctly when plugin file is missing to Deprecate Site Wide Only: true in favor of Network: true
- Type changed from defect (bug) to enhancement
comment:10 nacin — 4 years ago
- Keywords has-patch added
- Resolution fixed deleted
- Status changed from closed to reopened