-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Block Library: Remove client side variation fallbacks #42180
Conversation
Size Change: -422 B (0%) Total Size: 1.25 MB
ℹ️ View Unchanged
|
@ntsekouras, I think you worked with variation enhancers recently. Do you mind having a look at this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my manual test, the correct descriptions and labels are still displaying.
Thank you, @carolinan ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup George, thanks!
What?
PR removes client-side variation fallbacks for Navigation Link and Template Parts blocks.
Currently cannot fully remove "variation enhancers," since they handle the icon rendering. I think we can only use Dashicons when registering variations on the server side.
Why?
Like inline comments suggest the fallback was only needed while the Gutenberg plugin supported WP < 5.8.
Testing Instructions
Snippet