-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Editor: Add an extra check before enabling the new default rendering mode for Pages #69209
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
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.
Looks good to me 👍
though really I would expect that then support to be a check that happens inside the is_block_theme function because what is a blink theme if not block templates?
@fabiankaegy, I think the current behavior is for legacy reasons. WP shipped The |
…mode for Pages (WordPress#69209) * Editor: Add an extra check before enabling the new default rendering mode for Pages * Add backport changelog entry Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: swissspidy <swissspidy@git.wordpress.org> Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org>
…mode for Pages (WordPress#69209) * Editor: Add an extra check before enabling the new default rendering mode for Pages * Add backport changelog entry Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: swissspidy <swissspidy@git.wordpress.org> Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org>
What?
This is a small follow-up to #69160.
PR hardens condition before enabling
template-locked
as default rendering mode for Pages.Why?
While it should be an edge case for a block theme not to support
block-templates
, it's still technically doable. See: #67875 (comment).Testing Instructions
block-templates
theme support.post-only
mode.Testing Instructions for Keyboard
Same.