[wp-trac] [WordPress Trac] #60681: Elements: Fix application of element class name when attributes are filtered

WordPress Trac noreply at wordpress.org
Mon Mar 4 07:25:07 UTC 2024


#60681: Elements: Fix application of element class name when attributes are
filtered
-----------------------------+-----------------------------
 Reporter:  aaronrobertshaw  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Editor           |    Version:  trunk
 Severity:  normal           |   Keywords:  gutenberg-merge
  Focuses:                   |
-----------------------------+-----------------------------
 This ticket tracks the backporting of PHP files for the following
 Gutenberg changes:

 - https://github.com/WordPress/gutenberg/pull/59535

 These changes fix a bug where if the block data was filtered via
 `render_block_data` the elements CSS class wouldn't be consistently
 applied breaking the feature.

 The initial solution that was merged in Gutenberg via
 https://github.com/WordPress/gutenberg/pull/59533 caused a conflict in CSS
 classes that https://github.com/WordPress/gutenberg/pull/59535 addresses.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60681>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list