This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Closed
Conversation
Contributor
|
Works as expected for free themes. However, for Skivers, I've noticed that the style variations still appear. I think this is because premium themes have a blockbase-premium theme. |
BogdanUngureanu
approved these changes
Apr 10, 2023
Contributor
|
Should we migrate some of these removed style variations to those child themes that they DID work in? It doesn't just remove the variations that don't work, it also removes many that do. |
Contributor
|
It seems that the problem is specific to a particular pattern. Rather than removing all of the potentially valuable variations we instead fix the pattern in question. See this comment for more details. |
Member
Author
|
Abandoning this in favor of #6996. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed in this Pull Request:
As of Gutenberg 15.1/WordPress 6.2, child themes inherit the style variations of the parent theme.
This is causing issues to Blockbase child themes such as Jackson in WordPress.com, because the headstart content for a child theme is only created for the default style variation. When a different style variation is applied, the styles from the headstart content are incompatible with the new variation:
Screen.Recording.2023-04-06.at.15.51.17.mov
To mitigate that, and following this suggestion from @pbking, this PR removes the style variations from the Blockbase theme, so users are no longer able to select them for either the parent or any child theme.
This is an alternate approach of #6996 / D107265-code, which only removes the variations for Blockbase child themes and keeps them on the parent theme.
Testing instructions:
npm run deploy:push:changesthemescache while testing:wordpress.com/setup/site-setup/designSetup?siteSlug=<SITE_DOMAIN>)Related issue(s):
Fixes #6941.