[wpmu-trac] [WordPress MU Trac] #909: Site Wide Plugin
Administration Support
WordPress MU Trac
wpmu-trac at lists.automattic.com
Thu Feb 19 21:11:43 GMT 2009
#909: Site Wide Plugin Administration Support
----------------------------+-----------------------------------------------
Reporter: apeatling | Owner: somebody
Type: enhancement | Status: new
Priority: high | Milestone: 2.7.1
Component: Administration | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Attached is a patch that will add site wide plugin administration to
WordPress MU.
When a user is logged in as a site administrator they can visit "Plugins >
Installed" and activate any plugin site wide by clicking the "Active X
plugin site wide" link.
Both standard WordPress plugins, and old mu-plugins can be activated site
wide using this feature.
Standard plugins that are designed to run only on the blog level will be
be activated on the next login by the blog administrator. If the site
administrator deactivates the plugin site wide in the future, that plugin
will be deactivated on the next login. The blog administrator then has the
option to re-activate the plugin on a blog specific level if the "Plugins"
menu is enabled.
Mu-plugins need to add a plugin comment header just as a normal WordPress
plugin would have, but they need to add a new line:
- "Site Wide Only: true"
This will tell WordPress MU that this plugin is only suitable for site
wide activation. It also means that the plugin will be instantly
activated, there is no need for blog administrators to log in for this
plugin to be activated on their blog.
All plugins should be dropped into "wp-content/plugins" regardless of
their type.
WordPress will treat all of the plugins like they are all standard
plugins, which means they are all run through "activate/deactivate"
actions and also enabling the update mechanism.
Please test as much as possible.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/909>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list