Opened 15 years ago
Closed 15 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fix notice and show a warning on the dashboard when there aren't any themes available