-
Notifications
You must be signed in to change notification settings - Fork 849
jetpack-mu-wpcom: Enable the enhanced code block by default #46665
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
base: trunk
Are you sure you want to change the base?
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
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.
Pull request overview
This PR enables the enhanced Code block by default in the jetpack-mu-wpcom package by changing the default filter value from false to true.
Changes:
- Changed the default value of the
jetpack_mu_wpcom_should_load_code_blockfilter fromfalsetotrueto enable the enhanced Code block by default
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| projects/packages/jetpack-mu-wpcom/src/features/wpcom-blocks/code/class-code-block.php | Changed the default filter value to enable the enhanced Code block |
| projects/packages/jetpack-mu-wpcom/changelog/enable-code-block | Added changelog entry describing the change |
Code Coverage SummaryCannot generate coverage summary while tests are failing. 🤐 Please fix the tests, or re-run the Code coverage job if it was something being flaky. |
Fixes an issue in tests where required asset files are not present
613c9fa to
cb5621f
Compare
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.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
|
@copilot Solve the test problems in this branch. |
Proposed changes:
Enable the enhanced Code block by default.
See https://wordpress.com/blog/2026/01/19/introducing-the-enhanced-code-block/
Other information:
Does this pull request change what data or activity we track or use?
No
Testing instructions: