[wp-trac] [WordPress Trac] #13322: get_plugins() uses a closed dir handle

WordPress Trac wp-trac at lists.automattic.com
Mon May 10 16:01:32 UTC 2010


#13322: get_plugins() uses a closed dir handle
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:  westi
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0  
Component:  Plugins       |     Version:       
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 Reported by Milosav.

 {{{
 @closedir( $plugins_dir );
 @closedir( $plugins_subdir );
 if ( !$plugins_dir || empty($plugin_files) )
 }}}

 The test against plugins_dir is performed after closedir.

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


More information about the wp-trac mailing list