You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do not show the Global Styles sidebar in edit site if theme doesn't support theme.json #27394
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] BugAn existing feature does not function as intended
theme.json is not just about global styles. What happens if I use a theme.json to enable/disable some features in the editor but maybe I still don't want the global styles sidebar?
Depending on where we land at #27295 (comment) the exact checks we need for this may vary. Probably it's worth investigating this issue after 27295 is tackled.
With #73971, the issue should no longer occur because a global styles CPT is created internally, regardless of whether the active theme has a theme.json file.
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] BugAn existing feature does not function as intended
Activity
youknowriad commentedon Dec 1, 2020
theme.json is not just about global styles. What happens if I use a theme.json to enable/disable some features in the editor but maybe I still don't want the global styles sidebar?
oandregal commentedon Dec 1, 2020
Depending on where we land at #27295 (comment) the exact checks we need for this may vary. Probably it's worth investigating this issue after 27295 is tackled.
skorasaurus commentedon Jun 1, 2022
Is this still an issue ?
ramonjd commentedon Apr 8, 2024
I think this issue is still relevant. See discussion on #52750
t-hamano commentedon Sep 25, 2026
With #73971, the issue should no longer occur because a global styles CPT is created internally, regardless of whether the active theme has a theme.json file.