[wp-trac] [WordPress Trac] #35521: Avoid PHP errors if no theme directory exists

WordPress Trac noreply at wordpress.org
Tue Jan 19 01:10:55 UTC 2016


#35521: Avoid PHP errors if no theme directory exists
--------------------------+-----------------
 Reporter:  iseulde       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.5
Component:  Themes        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------
 Warning: Invalid argument supplied for foreach() in .../wp-admin/theme-
 install.php on line 31

 Warning: array_keys() expects parameter 1 to be array, boolean given in
 .../wp-admin/theme-install.php on line 57

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35521>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list