#15712 closed defect (bug) (fixed)
Broken child theme issue
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Themes | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
If a child theme is broken, validate_current_theme() function updates the "current_theme" option to "Twenty Ten" but does not update "stylesheet" and "template" options, which results in displaying the default theme as current theme in backend but the front end still refers to the broken child theme's files.
To check this issue:
1) Create a child theme for twentyten theme( or anyother ) and activate it
2) Delete the child theme's style.css or the theme folder manually
3) Check the front end.
Attachments (3)
Change History (13)
#1
@
14 years ago
- Keywords has-patch added; broken child theme removed
- Milestone changed from Awaiting Review to 3.1
#3
in reply to:
↑ 2
@
14 years ago
Replying to nacin:
I think for 3.1 we can probably just revert to the default theme. Patch looks like it does way too much honestly. Also, we use tabs not spaces, so that might be messing up with the formatting a bit.
Agreed, the first patch does way too much. Just thought reverting to parent theme would be nice. 1670.diff just reverts back to default theme.
#5
@
14 years ago
Looks fine. Should be trivial to add parent theme support but I don't find that to be particularly necessary at this time.
I think for 3.1 we can probably just revert to the default theme. Patch looks like it does way too much honestly. Also, we use tabs not spaces, so that might be messing up with the formatting a bit.