[wp-trac] [WordPress Trac] #60525: Block Bindings: Let the source extend the `uses_context` in the block type

WordPress Trac noreply at wordpress.org
Fri Feb 16 12:53:32 UTC 2024


#60525: Block Bindings: Let the source extend the `uses_context` in the block type
---------------------------------------------+---------------------
 Reporter:  gziolo                           |       Owner:  gziolo
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.5
Component:  Editor                           |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+---------------------
Changes (by gziolo):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57641" 57641]:
 {{{
 #!CommitTicketReference repository="" revision="57641"
 Editor: Merge `uses_context` defined by block bindings sources with block
 types

 Adds logic that fixes the limitation for souces by allowing merging the
 `uses_context` defined by block bindings sources into supported block
 types. Each source defines the context it needs and it is added to the
 block types that are using the block bindings API.

 Fixes #60525.
 Props santosguillamot, gziolo, czapla, thekt12.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60525#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list