-
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
Rename name to title in the global style variations #39715
Conversation
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.
Makes sense.
Would love an extra sanity check, but with the work in flux this seems like a tiny one to land.
Size Change: -2 B (0%) Total Size: 1.21 MB
ℹ️ View Unchanged
|
According to https://github.com/WordPress/gutenberg/pull/39322/files we also need to update |
Follow-up to #39322
What?
This PR renames the "name" property of the global styles variations/presets to "title".
Why?
I noticed that "name" was used more as an identifier in a lot of places in our code base: Block Types, Block Categories, Block Pattern Categories while "title" was used to refer to "labels" (sometimes "label" is used) for patterns, block types.