[wp-trac] [WordPress Trac] #24639: search_theme_directories returns nothing if scandir() returns FALSE

WordPress Trac noreply at wordpress.org
Mon Jun 24 23:53:26 UTC 2013


#24639: search_theme_directories returns nothing if scandir() returns FALSE
--------------------------+------------------------------
 Reporter:  csixty4       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by nacin):

 I wrote this code, and yes, this is a good change. Maybe we should do a
 trigger_error() with E_USER_NOTICE whenever we can't read a directory
 we're supposedly to read?

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


More information about the wp-trac mailing list