[wp-trac] [WordPress Trac] #53806: register_block_type_from_metadata does not allow full path to file as docs say it does
WordPress Trac
noreply at wordpress.org
Thu Nov 4 16:02:55 UTC 2021
#53806: register_block_type_from_metadata does not allow full path to file as docs
say it does
-------------------------+---------------------
Reporter: coreyw | Owner: gziolo
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.9
Component: Editor | Version: 5.8
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
-------------------------+---------------------
Changes (by gziolo):
* owner: (none) => gziolo
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"52012" 52012]:
{{{
#!CommitTicketReference repository="" revision="52012"
Docs: Clarify the path usage register_block_type_from_metadata
The filename passed with the first param must end with `block.json`.
Fixes #53806.
Props coreyw, costdev.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53806#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list