[wp-trac] Re: [WordPress Trac] #6308: Plugin variable scope issue

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 29 03:53:01 GMT 2008


#6308: Plugin variable scope issue
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:     
     Type:  defect (bug)       |       Status:  new
 Priority:  low                |    Milestone:  2.9
Component:  Administration     |      Version:  2.5
 Severity:  minor              |   Resolution:     
 Keywords:  dev-feedback       |  
-------------------------------+--------------------------------------------
Changes (by DD32):

  * type:  task (blessed) => defect (bug)

Comment:

 perhaps adding a unset($plugin); after the plugin loading code could fix
 this, I've seen the $plugin variable pop through a few times with the
 last-loaded plugin, Confused me a few times..

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


More information about the wp-trac mailing list