[wp-trac] [WordPress Trac] #19089: PHP notice when themes dir. is empty, doesn't exist or the path is wrong

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 29 21:41:12 UTC 2011


#19089: PHP notice when themes dir. is empty, doesn't exist or the path is wrong
--------------------------+-----------------
 Reporter:  azaozz        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.3
Component:  Themes        |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 On new installs we run quite a bit of code trying to find a theme (so the
 front-end is not a white screen) but don't show an error if a theme cannot
 be found. This can happen if WordPress is not installed properly or the
 path to wp-content/themes is wrong (for example in WP_CONTENT_DIR).

 In these cases there's also a notice in `get_current_theme()`.

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


More information about the wp-trac mailing list