[wp-trac] [WordPress Trac] #20497: Error Never Goes Away After Deleting an Active Plugin

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 21 00:24:28 UTC 2012


#20497: Error Never Goes Away After Deleting an Active Plugin
--------------------------+------------------
 Reporter:  Ipstenu       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  Plugins       |     Version:  3.4
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 3.4


Comment:

 Reproduced in a single site configuration as well. Introduced in [20525].

 Contrary to the PHPDocs for `deactivate_plugins()`, if `$network_wide` is
 null, the rest of the loop after line 597 will be skipped for site-only
 activated plugins: [[BR]]
 http://core.trac.wordpress.org/browser/trunk/wp-
 admin/includes/plugin.php?rev=20525#L595

 [attachment:20497.patch] is an attempt to correct the logic. Tested in
 single site admin, regular admin in Multisite, network admin.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20497#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list