Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#14824 new defect (bug)

WordPress is not updating Theme option after making a theme a child theme by adding the line 'Template' to the child`s css without refreshing Theem activation

Reported by: drale2k Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.1
Component: Themes Keywords: needs-patch
Focuses: Cc:



If you have 2 Themes on a 2 sites MultiSite install (each site is using one theme) and want to make one of them a child Theme of the other, you will go to one of them and add the line 'Template: NAME OF THE PARENT THEME' and save it.

After doing so the Child Theme will not inherit any Template Files from the parent until you deactivate/activate the Child Theme again.

Although it says in the "Themes/Appereance" section of the Child Themes backend 'CHILD THEME NAME uses templates from PARENT THEME NAME. Changes made to the templates will affect both themes.' even before deactivating/activating the Child Theme.

Looks like the template page might be checking the style.css and not update the option.

Change History (3)

comment:1 nkuttler4 years ago

This doesn't seem to be ms-specific. The manage themes page indeed shows an incorrect "All of this theme’s files are located in..." line that doesn't correspond to what's shown on the frontend. This is rather confusing for theme developers.

comment:2 nkuttler4 years ago

  • Cc office@… added

comment:3 nacin3 years ago

  • Keywords needs-patch added; child theme inherit removed
  • Milestone changed from Awaiting Review to Future Release

We can probably fix it for the frontend with a sanity check whenever we detect the change in the admin.

Note: See TracTickets for help on using tickets.