Ticket #7236 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Admin theme preview fails in some cases.

Reported by: Txanny Assigned to: anonymous
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

07/03/08 21:31:58 changed by Txanny

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

07/03/08 22:50:43 changed by johnhennmacc

  • keywords deleted.

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.

07/03/08 23:10:29 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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