#20914 closed defect (bug) (fixed)
WordPress Failure Notice: Your attempt to switch to this theme: “twenty-eleven-child” has failed.
Reported by: | emiluzelac | Owned by: | westi |
---|---|---|---|
Milestone: | 3.4 | Priority: | high |
Severity: | normal | Version: | 3.4 |
Component: | Themes | Keywords: | has-patch dev-reviewed commit |
Focuses: | Cc: |
Description
Few moments ago I've installed (3.4-RC3). Tested things around and it looks awesome, but there something going one with Child Theme Installation.
I've created very basic Twenty Eleven Child Theme, nothing else, single folder and style.css. Zipped the Child Theme, went to uploader and it was all good:
Standard Message:
Unpacking the package… Installing the theme… This theme requires a parent theme. Checking if it is installed… The parent theme, Twenty Eleven 1.3, is currently installed. Theme installed successfully.
Now when I click on the actual "Activate" link this happens:
- Your attempt to switch to this theme: “twenty-eleven-child” has failed.
Please try again.
First I was thinking wait, that must be me, than I installed fresh copy and the same thing happened. e-mailed buddy of mine and he confirmed the same exact message.
Please confirm.
Thanks,
Emil
Attachments (7)
Change History (26)
#2
@
12 years ago
- Component changed from Warnings/Notices to Themes
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 3.4
- Priority changed from normal to high
Confirmed.
Also the live preview returns a Cheatin’ uh?
message.
#3
@
12 years ago
Super, this time I'm not crazy! And just in time before 3.4 gets released. Who knows maybe one day @Nacin will add my name in contributors list ;)
Thanks bud, I appreciate you checked this!
Emil
#6
@
12 years ago
Attached 20914.2.diff to fix the Activate link after installation or upgrade (the latter untested). I couldn't reproduce the Live Preview cheating message.
See #20916 for partially related issue with network enabling after installation. The child theme part probably belongs here [Edit: not really]
#8
follow-up:
↓ 9
@
12 years ago
Couldn't reproduce this, using latest trunk. Activation and Live Preview works fine with simple child theme.
#9
in reply to:
↑ 8
;
follow-up:
↓ 10
@
12 years ago
Replying to Mamaduka:
Couldn't reproduce this, using latest trunk. Activation and Live Preview works fine with simple child theme.
Just checking that you're testing from the post-installation screen. Activation works fine from the main themes list on the Manage Themes page.
#10
in reply to:
↑ 9
@
12 years ago
Replying to duck_:
Just checking that you're testing from the post-installation screen. Activation works fine from the main themes list on the Manage Themes page.
Right reproduced that way, only activation problem, live preview works fine.
#11
@
12 years ago
As I said above: preview is fine, this happens only when your activate the Child Theme as soon as Child is activated :)
#16
@
12 years ago
Hey guys,
Just an FYI and not sure why, but moments ago on a clients site, while uploading a Child Theme this happens:
Are you sure you want to do this?
Please try again.
WP 3.4 latest, no beta or anything like that :( They did a regular upgrade when 3.4 was released, this is not a dev site.
Emil
#17
@
12 years ago
Note: Screenshot attached and to add that this happens as soon as child is uploaded and it doesn't even come to "Activate" link.
Just to add that this was tested with several different Child Themes and not just Twenty Eleven, it's not tied with a single Parent Theme. And also if you skip "Activate" link and go back to Themes you would be able to activate just fine.