[wp-trac] [WordPress Trac] #60485: Editor: Add missing support for script handles in asset files for blocks

WordPress Trac noreply at wordpress.org
Mon Feb 12 11:41:05 UTC 2024


#60485: Editor: Add missing support for script handles in asset files for blocks
--------------------------------------+---------------------
 Reporter:  gziolo                    |       Owner:  gziolo
     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):

 * owner:  (none) => gziolo
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57590" 57590]:
 {{{
 #!CommitTicketReference repository="" revision="57590"
 Blocks: Allow reading the script handle from asset files

 In the [documentation for WPDefinedAsset
 definition](https://developer.wordpress.org/block-editor/reference-guides
 /block-api/block-metadata/#wpdefinedasset) for block metadata there is a
 note about the handle. That was missing in WordPress core.

 Props gziolo, jsnajdr, youknowriad.
 Fixes #60485.
 }}}

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


More information about the wp-trac mailing list