[wp-trac] [WordPress Trac] #59797: Blocks: Add new global attribute `metadata`

WordPress Trac noreply at wordpress.org
Mon Nov 6 14:45:43 UTC 2023


#59797: Blocks: Add new global attribute `metadata`
--------------------------------------+------------------------------
 Reporter:  Bernhard Reiter           |       Owner:  Bernhard Reiter
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.5
Component:  Editor                    |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by Bernhard Reiter):

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


Comment:

 In [changeset:"57068" 57068]:
 {{{
 #!CommitTicketReference repository="" revision="57068"
 Block Types: Add `metadata` global attribute.

 Add a new global attribute (i.e. an attribute that can be added to all and
 any blocks) called `metadata`. This is required for use cases such as
 allowing the user to assign custom names to blocks, or for making Block
 Hooks work with user-modified templates/parts/patterns (#59646).

 Props Mamaduka, gziolo, get_dave.
 Fixes #59797.
 }}}

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


More information about the wp-trac mailing list