[wp-trac] [WordPress Trac] #60877: Twenty Twenty-Four: Many block styles affect all blocks

WordPress Trac noreply at wordpress.org
Wed Sep 24 13:45:54 UTC 2025


#60877: Twenty Twenty-Four: Many block styles affect all blocks
---------------------------+----------------------
 Reporter:  wildworks      |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:  wontfix
 Keywords:                 |     Focuses:  ui, css
---------------------------+----------------------
Changes (by sabernhardt):

 * keywords:  needs-test-info needs-patch =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 I'll close this to avoid breaking any sites that intentionally added a
 class for the theme's special styling.

 ----

 > ...if you wrap a Buttons block in a Group block and add a CSS class
 called `is-style-outline` to the Group block, the Button inside will have
 unintended styles applied.

 Adding `is-style-outline` to a container theoretically could be a quick,
 clean way to make all Button blocks on the page consistent. (That was
 possible with Twenty Sixteen and WordPress 5.3, though now the classic
 bundled themes seem to require block library styles and `block-style-
 variation-styles` for the Outline style's border.)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60877#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list