[wp-trac] Re: [WordPress Trac] #5174: If plugin details cleared while activated, "impossible" to deactivate

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 17 23:20:26 GMT 2008


#5174: If plugin details cleared while activated, "impossible" to deactivate
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |        Owner:  anonymous
     Type:  defect          |       Status:  reopened 
 Priority:  lowest          |    Milestone:  2.5      
Component:  Administration  |      Version:  2.3      
 Severity:  normal          |   Resolution:           
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Comment (by DD32):

 > It would clean up the active plugins list, if you forgot to deactivate a
 plugin before deleting the files.

 That allready happens elsewhere in the code (The include plugin files code
 i believe)

 > The second patch doesn't seem like it will have a major impact
 I should've added a comment about this. the 2nd patch is a correction of a
 logic error in the first patch.

 If the plugins list is empty then the first patch doesnt deactivate any
 plugins that are loaded still somehow (ala metadata gone missing).

 The 2nd patch will deactivate all the plugins if the plugin list is empty.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5174#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list