-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Block Bindings: Disable post meta editing in blocks inside a Query Loop #63237
Block Bindings: Disable post meta editing in blocks inside a Query Loop #63237
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. |
Size Change: +15 B (0%) Total Size: 1.76 MB
ℹ️ View Unchanged
|
Co-authored-by: SantosGuillamot <santosguillamot@git.wordpress.org> Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org>
I just cherry-picked this PR to the wp/6.6 branch to get it included in the next release: 4ded8fb |
Co-authored-by: SantosGuillamot <santosguillamot@git.wordpress.org> Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org>
Co-authored-by: SantosGuillamot <santosguillamot@git.wordpress.org> Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org>
What?
Right now, when you connect a paragraph (or other block) to "Post Meta", it is possible to edit it even when it is inside a query loop block. This pull requests locks the editing in that context.
Why?
It was first reported in this Twitter thread and, after checking how Post Title or Post Featured Image work, it seems they aren't editable either.
How?
Check that the context provided by the query loop is available.
Testing Instructions