[wp-trac] [WordPress Trac] #58342: Use register_block_type_from_metadata in register_core_block_types_from_metadata
WordPress Trac
noreply at wordpress.org
Tue May 23 06:43:45 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 needs-refresh | Focuses: performance
------------------------------------------+-----------------------------
Changes (by mukesh27):
* keywords: good-first-bug => good-first-bug needs-refresh
Comment:
Thanks @nihar007 for the Patch!
Your patch has PHPCS error. Instead of arrange in single line just replace
`register_block_type` with `register_block_type_from_metadata` function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58342#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list