-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Connecting block attributes and custom fields & Block Bindings API for WP 6.5 #53300
Copy link
Copy link
Closed
Labels
[Feature] Custom FieldsAnything related to the custom fields project - connecting block attributes and dynamic valuesAnything related to the custom fields project - connecting block attributes and dynamic values[Type] IterationScoped iteration of an effort from a tracking issue or overview issue ideally for a major release.Scoped iteration of an effort from a tracking issue or overview issue ideally for a major release.[Type] New APINew API to be used by plugin developers or package users.New API to be used by plugin developers or package users.
Metadata
Metadata
Assignees
Labels
[Feature] Custom FieldsAnything related to the custom fields project - connecting block attributes and dynamic valuesAnything related to the custom fields project - connecting block attributes and dynamic values[Type] IterationScoped iteration of an effort from a tracking issue or overview issue ideally for a major release.Scoped iteration of an effort from a tracking issue or overview issue ideally for a major release.[Type] New APINew API to be used by plugin developers or package users.New API to be used by plugin developers or package users.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Part of:
Related to:
EDIT: Connecting block attributes and custom fields, and the block bindings API tracking issues have been merged into this epic because they are highly related and it seems it is easier to follow having everything under the same discussion.
This issue is meant to keep track of and discuss how to connect block attributes with custom/meta fields and how Block Bindings API should work. It includes a list of tasks needed for this, and we will share updates about the progress here.
For more context about the reasoning of the block bindings API, you can take a look at its original tracking issue.
Progress
This is a list of things to consider/questions related to the Block Bindings API that will be updated as we go along:
WordPress 6.5 release process
Click to see the list of issues addressed during 6.5 release cycle
---A couple of things that are important:
Fixes/updates for Gutenberg 17.6 RC (Tuesday 30th)
WP_Block_Bindings_Registryclass like others likeWP_Block_Type_Registryare doing: link.Fixes/updates for WordPress 6.5 beta 1 (February 13th)
strcasecmpreported here.WP_Block_Binding_Sourceclass and handle validation there: link. PR: #6042 / Core changeset: 57562setAttributes. PR: #58806Fixes/updates during beta phase
queryIdin context: link. Solved as part of Core / Gutenberg PRuse-bindings-attributeshook and improve its implementation. As part of that, we should address link. PR with the refactoring: #58895WordPress 6.6 planning
This section will be used to keep track of the issues that could potentially be addressed for WordPress 6.6.
As explained in this comment, the idea is to keep the scope limited and work on more functionalities if there is time at the end of the release cycle.
Initial plan
Keep in mind that this is not set in stone and it might change. The initial idea is to focus on these aspects:
Polish the existing code
RichTextidentifier to check if we should make it non-editable: link.And work on new aspects like:
Out of scope for 6.6
Trying to keep the scope limited for this short release, the idea is to work on these functionalities only once the previous points are finished:
site_url+field_id.