[wp-trac] [WordPress Trac] #16011: Editing a Network Activated plugin deactivates it
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 29 02:22:10 UTC 2010
#16011: Editing a Network Activated plugin deactivates it
--------------------------+------------------
Reporter: Otto42 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Plugins | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Changes (by SergeyBiryukov):
* keywords: => has-patch
Comment:
Was able to reproduce with a plugin which was activated both for Network
and specifically on the current site. `is_plugin_active()` was returning
true, so plugin was not reactivated for Network.
I guess we can check `is_plugin_active_for_network()` too. Patch included.
Or perhaps `deactivate_plugins()` should always check `active_plugins`,
even if `$network_wide`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16011#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list