[wp-trac] Re: [WordPress Trac] #2377: We should deactivate plugins when upgrading

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 8 04:51:58 GMT 2006


#2377: We should deactivate plugins when upgrading
-----------------------------------------+----------------------------------
 Reporter:  davidhouse                   |        Owner:  anonymous
     Type:  defect                       |       Status:  new      
 Priority:  normal                       |    Milestone:  2.1      
Component:  Administration               |      Version:  2.0      
 Severity:  normal                       |   Resolution:           
 Keywords:  bg|has-patch bg|2nd-opinion  |  
-----------------------------------------+----------------------------------
Comment (by masquerade):

 Not to mention, now we have activate/deactivate hooks, and deactivating
 all would have to call all the deactivation hooks, which could potentially
 cause undesired side-effects with plugins that clean up after themselves
 upon deactivation, assuming a user is going to uninstall, or even plugins
 that take advantage of the deactivation hooks to query whether or not data
 should be deleted and die out before the page can finish loading and
 completely deactivate the plugin (I'm not sure how many other people do
 this, but I know I do in at least one unreleased plugin).

 So, definitely a -1

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


More information about the wp-trac mailing list