[wp-trac] [WordPress Trac] #61642: Block Bindings: Add context needed by sources during its processing
WordPress Trac
noreply at wordpress.org
Fri Jul 12 11:39:05 UTC 2024
#61642: Block Bindings: Add context needed by sources during its processing
-----------------------------+-----------------------------
Reporter: santosguillamot | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
-----------------------------+-----------------------------
Block bindings sources sometimes need to access some context that is not
initially available in the block. Right now, we are extending it when the
source is registered. The idea is to move the logic so it is added when
the block bindings are processed. This means:
- Before: Extend context during block bindings source registration. This
implies that the blocks extend the context even when they don't use
bindings.
- After: Extend context during block bindings processing. This implies
that the context is extended ONLY for the blocks where bindings are
defined.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61642>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list