[wpmu-trac] Re: [WordPress MU Trac] #909: Site Wide Plugin
Administration Support
WordPress MU Trac
wpmu-trac at lists.automattic.com
Tue Feb 24 20:45:09 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 | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by GIGALinux):
Ok, the cause was a old database entry. It's now working.
Two things:
In the function activate_sitewide_plugin unserialize need changed to
{{{
(array) maybe_unserialize(...
}}}
And add the function manage_sitewide_plugins_for_blog to the "admin_init"
action
{{{
add_action( 'admin_init', 'manage_sitewide_plugins_for_blog' );
}}}
Now is no re-login required to active new side wide plugins.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/909#comment:10>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list