-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Remove get_default_block_editor_settings from theme JSON resolver #3902
Remove get_default_block_editor_settings from theme JSON resolver #3902
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.
@Mamaduka Two small bits of feedback on the production code.
Can you add unit test coverage for the change please? Particularly a simple test for the new function. The get_default_block_editor_settings()
change should already be covered by existing tests.
Updated the function name and added simple unit tests. |
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.
@Mamaduka One last tiny bit of feedback, other than that this is good to go.
Good catch. Thank you, @felixarntz! |
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.
Thanks @Mamaduka, I've left some feedback regarding the unit test in a PR review.
Thank you, @mukeshpanchal27! |
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.
Looks good to me
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.
Thanks @Mamaduka, LGTM!
Committed in https://core.trac.wordpress.org/changeset/55146 🎉 |
Trac ticket: https://core.trac.wordpress.org/ticket/57547
Gutenberg PR: WordPress/gutenberg#46112
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.