Child themes theme support do not override parent's theme.json settings #35762
Labels
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
Reported at #35459 (comment)
The settings for a theme are pulled from its
theme.json
and fall back to their theme supports if the equivalenttheme.json
setting is not present. When it comes to child themes we need to consider the whole chain of settings:Options provided in the later stages of the chain should be able to override options provided before. For example, the child theme support settings should override the parent theme.json settings.
Step-by-step reproduction instructions
theme.json
.functions.php
of the child:The expected result is that, when you go to the editor, the link and line-height controls should not be present. Instead, what happens is that they are.
The text was updated successfully, but these errors were encountered: