[wp-trac] [WordPress Trac] #55513: Allow registration of blocks containing scripts / styles that need to get enqueued from within a Theme
WordPress Trac
noreply at wordpress.org
Thu Apr 7 11:57:33 UTC 2022
#55513: Allow registration of blocks containing scripts / styles that need to get
enqueued from within a Theme
-------------------------+------------------------------
Reporter: fabiankaegy | Owner: gziolo
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Changes (by gziolo):
* owner: (none) => gziolo
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"53091" 53091]:
{{{
#!CommitTicketReference repository="" revision="53091"
Editor: Allow registration of blocks that include assets from within a
theme
Fixes the issue when you register blocks with `block.json` in your theme.
There is no longer an assets's URL error because it resolves correctly in
relation to the theme where it is located.
Props fabiankaegy, ocean90, whoisnegrello, audrasjb, peterwilsoncc,
Fixes #54647, #55513.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55513#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list