[wp-trac] [WordPress Trac] #64452: get_block_wrapper_attributes() function strips falsy values like zero
WordPress Trac
noreply at wordpress.org
Wed Mar 4 14:29:46 UTC 2026
#64452: get_block_wrapper_attributes() function strips falsy values like zero
--------------------------------------+------------------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by ekaterina92):
What an interesting case! I could reprodure class 0 situation. Patch for
it solves the issue + unit test passes, but I am afraid that css don't
actually allow class names starting with a number (at least it should be
escaped /).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64452#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list