[wp-trac] [WordPress Trac] #12139: Network plugins do not deactivate correctly when plugin file is missing

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 5 16:31:47 UTC 2010


#12139: Network plugins do not deactivate correctly when plugin file is missing
--------------------------+-------------------------------------------------
 Reporter:  wpmuguru      |       Owner:  westi    
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Plugins       |     Version:           
 Severity:  normal        |    Keywords:  multisite
--------------------------+-------------------------------------------------
 1- Currently network only plugins are recognized by
 {{{
 Site Wide Only: true
 }}}

 We should add support for network only so site wide only can be deprecated
 in a future version.

 {{{
 Network Only: true
 }}}

 2-When activated, network only plugins are added to the active plugins
 list on the blog/site and the network meta active_sitewide_plugins. If the
 plugin file is missing, it is removed from the active plugins but left in
 the active sitewide plugins. Until the plugin file is restored and
 deactivated, the super admin has an error message on the plugins screen
 whenever they visit it:

 {{{
 The plugin 1265383606 has been deactivated due to an error: Plugin file
 does not exist.
 }}}

 (Note also that is a timestamp vs the plugin name.)

 When a network plugin is activated, it does not need to be added to the
 active plugins list on the site/blog.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12139>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list