-
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
Theme JSON: Extract util to get valid block style variations #61030
Theme JSON: Extract util to get valid block style variations #61030
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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.
Seems fine to me.
Backport for these PHP changes can be found at: WordPress/wordpress-develop#6479 |
Extracts the repeated collection of valid block style variations into a util that can be reused or updated in a single place for future work around extending block style variations. Backports WordPress/gutenberg#61030. Props aaronrobertshaw, audrasjb. Fixes #61121. git-svn-id: https://develop.svn.wordpress.org/trunk@58228 602fd350-edb4-49c9-b593-d223f7449a82
Extracts the repeated collection of valid block style variations into a util that can be reused or updated in a single place for future work around extending block style variations. Backports WordPress/gutenberg#61030. Props aaronrobertshaw, audrasjb. Fixes #61121. Built from https://develop.svn.wordpress.org/trunk@58228 git-svn-id: http://core.svn.wordpress.org/trunk@57691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Extracts the repeated collection of valid block style variations into a util that can be reused or updated in a single place for future work around extending block style variations. Backports WordPress/gutenberg#61030. Props aaronrobertshaw, audrasjb. Fixes #61121. Built from https://develop.svn.wordpress.org/trunk@58228 git-svn-id: https://core.svn.wordpress.org/trunk@57691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Related:
Note: The changes in this PR are being split out from #57908 to make that more manageable
What?
Extracts the repeated collection of valid block style variations into a util that can be reused or updated in a single place for future work around extending block style variations.
Why?
Minor improvement to maintainability and readability.
Testing Instructions
npm run test:unit:php:base -- --filter WP_Theme_JSON_Gutenberg_Test
Screenshot