[wp-trac] [WordPress Trac] #54647: Blocks: Add support for themes to block API v2 with assets in block.json
WordPress Trac
noreply at wordpress.org
Thu Apr 7 11:57:34 UTC 2022
#54647: Blocks: Add support for themes to block API v2 with assets in block.json
-------------------------------------------------+-------------------------
Reporter: whoisnegrello | Owner: gziolo
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.0
Component: Editor | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing has-unit- | Focuses:
tests needs-dev-note |
-------------------------------------------------+-------------------------
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/54647#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list