[wp-trac] [WordPress Trac] #20985: Mute errors when calling file_exists in search_theme_directories

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 26 03:26:43 UTC 2012


#20985: Mute errors when calling file_exists in search_theme_directories
--------------------------+--------------------
 Reporter:  goldenapples  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4.1
Component:  Themes        |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------
Changes (by nacin):

 * milestone:  Awaiting Review => 3.4.1


Comment:

 The is_dir() check two lines up should simply be checking $sub_dir as
 well; they can be combined into one.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20985#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list