-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blockbase: style variation opt-out not always working #8636
Comments
Triage result: Tested on a Simple site. Assigning to @pkevan as he's already working on it. |
This is something different - haven't dived into that specific functionality as yet but can't see how that option is used. |
Ah, I see, I need to retest it with Kingsley and/or Jackson theme. |
Do we need a separate issue for that? |
Yes, probably best to, as it uses a different custom option to attempt to remove individual style variations. |
Quick summary
When running the Gutenberg plugin within a site, the functionality to opt-out of style variations from a parent theme no longer functions as expected.
This is due to the
WP_REST_Global_Styles_Controller
now beingWP_REST_Global_Styles_Controller_Gutenberg
and therefore https://github.com/Automattic/themes/blob/trunk/blockbase/inc/rest-api.php#L25 is not longer triggered.Steps to reproduce
Themes which use
optOutOfParentStyleVariations
should not show parent theme style variations.Possible to reproduce on
Simple
sites, and presumablyAtomic
but could not test this easily.Site owner impact
More than 60% of the total website/platform users
Severity
Major
What other impact(s) does this issue have?
No response
If a workaround is available, please outline it here.
No response
Platform (Simple and/or Atomic)
Simple, Atomic
The text was updated successfully, but these errors were encountered: