Opened 15 years ago
Closed 15 years ago
#18591 closed enhancement (fixed)
mytheme-child does not work when installing a new blog
| Reported by: | minimarket | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Themes | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
If I choose own theme when installing a blog
define ('WP_DEFAULT_THEME', 'mytheme');
then it works, but if I choose child theme
define ('WP_DEFAULT_THEME', 'mytheme-child');
then I must go to Appearance -> Themes to choose it manually. She was not taken up automatically.
Attachments (2)
Change History (12)
#3
follow-up:
↓ 4
@
15 years ago
- Keywords has-patch added; needs-patch removed
get_themes() works fine there.
#4
in reply to: ↑ 3
@
15 years ago
- Resolution → fixed
- Status new → closed
Replying to SergeyBiryukov:
get_themes() works fine there.
Thank you! The patch is really working fine.
#5
follow-up:
↓ 6
@
15 years ago
- Component General → Themes
- Resolution fixed
- Status closed → reopened
Tickets are marked as fixed when a change is made to the WordPress codebase, the patch here still needs to be committed before the ticket will be marked as such.
#6
in reply to: ↑ 5
@
15 years ago
Replying to dd32:
Tickets are marked as fixed when a change is made to the WordPress codebase, the patch here still needs to be committed before the ticket will be marked as such.
Oops.. Sorry, This is my first ticket...
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Source reference for those interested: populate_options()
Depending on the state of the loading at that point in time, we could query for the theme through get_themes() and extract the template from there, Alternatively, we could add a new define for the Template if we're unable to query at that point in time.