[wp-trac] [WordPress Trac] #60282: Add the Block Bindings API, including the "post_meta" and "pattern" sources
WordPress Trac
noreply at wordpress.org
Fri Feb 9 10:38:53 UTC 2024
#60282: Add the Block Bindings API, including the "post_meta" and "pattern" sources
--------------------------------------+--------------------------
Reporter: czapla | Owner: youknowriad
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.5
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Changes (by gziolo):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"57574" 57574]:
{{{
#!CommitTicketReference repository="" revision="57574"
Editor: Refactor block binding processing and attribute computation
Refactors the processing of block bindings into steps:
- Gets the value for each "bound" attribute from the respective source.
- Returns the computer attributes with values from the sources.
- The computed attributes get injected into block's content.
- The `render_callback` gets the updated list of attributes and
processeded block content.
Fixes #60282.
Props czapla, gziolo, andraganescu, santosguillamot.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60282#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list