[wp-trac] Re: [WordPress Trac] #6332: deactivate_plugins() bug (wp-admin/include/plugins.php)

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 21 22:26:52 GMT 2008


#6332: deactivate_plugins() bug (wp-admin/include/plugins.php)
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  anonymous
     Type:  defect             |       Status:  reopened 
 Priority:  low                |    Milestone:  2.5      
Component:  Administration     |      Version:  2.5      
 Severity:  minor              |   Resolution:           
 Keywords:                     |  
-------------------------------+--------------------------------------------
Changes (by DD32):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 The fix may not have been needed.

 The code Denis-de-Bernardy quoted, just so happens to be pre-[7416], which
 was supposed to fix that.

 As it stands, Denis-de-Bernardy's patch never comes into play, if the
 function gets to that stage, array_search() has allready been perfomed and
 checked its not false.

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


More information about the wp-trac mailing list