Opened 13 years ago
Closed 13 years ago
#19089 closed defect (bug) (fixed)
PHP notice when themes dir. is empty, doesn't exist or the path is wrong
Reported by: | azaozz | Owned by: | ryan |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
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()
.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Fix notice and show a warning on the dashboard when there aren't any themes available