WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7236 closed defect (bug) (fixed)

Admin theme preview fails in some cases.

Reported by: Txanny Owned by:
Milestone: 2.6 Priority: high
Severity: major Version: 2.6
Component: Template Keywords:
Focuses: 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:1 Txanny6 years ago

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

comment:2 johnhennmacc6 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.

comment:3 ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8252]) Allow underscore and dash in theme dirs when previewing. fixes #7236

Note: See TracTickets for help on using tickets.