[wp-hackers] WPMU Plugin management

Omry Yadan omry at yadan.net
Wed Oct 24 20:07:31 GMT 2007

Hi Donncha,

What you are saying really is just implement plugins from scratch
instead of somehow reusing it.

instinctively I`d vote for code reuse, but in this case you may be right
that's the best approach would be to create a separate page for that.

is wpmu protected against users activating plugins through raw http

Donncha O Caoimh wrote:

> Hi Omry,
> While it's true the plugins page itself doesn't have any filtering of
> plugins, that page is possibly not the right page to display plugins to
> users of WordPress MU. Users who aren't tech savvy, or even know what
> software is running on your site aren't going to be interested in the
> author information, or arcane configuration of plugins.
> Your plugin should probably create a page that uses a list (stored in
> sitemeta) of approved plugins, perhaps with a list of plugins stored in
> a blog's options table to override the global list. Your plugin should
> handle activation and deactivation of plugins. Take a look at
> wp-admin/plugins.php for how this is done, it's pretty simple.
> To mass-enable plugins, just put the plugin in mu-plugins, or your
> plugin will need some function on init that checks for plugins that need
> to be activated..
> Everything can be done through a plugin, don't use plugins.php at all!
> HTH,
> Donncha
> Omry Yadan wrote:
>> Thanks for the feedback.
>> what i`d like is to get some approval to the idea from the core team
>> before I go and implement it.
>> Callum Macdonald wrote:
>>>> 1. manipulate the list of plugins displayed to the user.
>>>> 2. prevent activation of plugins not in the plugins list.
>>>> I don't see how those things can be done with the current WPMU
>>>> code, but I am willing to add the required filters/hooks needed to
>>>> perform this and submit a patch.
>>>> what do you guys think?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list