[wp-trac] [WordPress Trac] #58342: Use register_block_type_from_metadata in register_core_block_types_from_metadata
WordPress Trac
noreply at wordpress.org
Fri May 26 14:28:12 UTC 2023
#58342: Use register_block_type_from_metadata in
register_core_block_types_from_metadata
--------------------------------------+-----------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Editor | Version: 5.5
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses: performance
--------------------------------------+-----------------------------
Comment (by gziolo):
Good to commit. All core blocks need to have `block.json`. It's also
optimized behind the scenes, and all core blocks have `block.json`
transformed into a single PHP file during the build process to avoid
reading and parsing all individual JSON files.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58342#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list