[wp-trac] [WordPress Trac] #13778: directory never closed in search_theme_directories()

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 8 00:44:22 UTC 2010


#13778: directory never closed  in search_theme_directories()
--------------------------+-------------------------------------------------
 Reporter:  ScottMac      |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 closedir() isn't called for the opendir resource due to a wrong variable
 name being used.

 The is_dir call wasn't doing anything since the return value of opendir()
 was already checked.

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


More information about the wp-trac mailing list