Opened 5 years ago
Closed 5 years ago
#7236 closed defect (bug) (fixed)
Admin theme preview fails in some cases.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.6 |
| Component: | Template | Version: | 2.6 |
| Severity: | major | Keywords: | |
| Cc: |
Description
If the Theme Folder has the '_' or the'-' the theme preview does not load the theme and shows a blank page. The themes tested work perfect, and are XHTML and CSS validated.
Checked also with default themes changing the folder name to include '-' or '_' and also fails with them.
Change History (3)
comment:2
johnhennmacc — 5 years ago
- Keywords theme folder name preview removed
I have also encountered this one and it seems that the - and _ are getting stripped out somewhere so that a search is being made on the system for non-existent folder. For example, if the theme folder being passed through is theme_1 or theme-1, it goes looking for theme1 on the file system. If you have a theme1, that seems to display in place of theme_1 or theme-1.

Forgot to say: Works in released WP-2.6-beta2, but not in trunk.