[wp-trac] [WordPress Trac] #55410: Update spacer block markup in patterns/templates registered by Twenty Twenty-Two and Core
WordPress Trac
noreply at wordpress.org
Thu Mar 17 09:33:16 UTC 2022
#55410: Update spacer block markup in patterns/templates registered by Twenty
Twenty-Two and Core
---------------------------+-----------------------------
Reporter: jsnajdr | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
---------------------------+-----------------------------
The Twenty Twenty-Two theme registers block patterns and templates that
contain deprecated markup for core/spacer blocks. They specify height
attribute as a number ("height":50) instead of a string that includes
units ("height":"50px"). Because of that, the block parser reports
depreciation messages in browser console.
The attached patch updates markup of block patterns and templates
registered by modules that don't need to be compatible with pre-5.9
WordPress: the Twenty Twenty-Two theme and Core itself.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55410>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list