[wp-trac] [WordPress Trac] #55276: :where is easily being overridden

WordPress Trac noreply at wordpress.org
Mon Feb 28 21:18:38 UTC 2022

#55276: :where is easily being overridden
 Reporter:  vijayhardaha  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  css

Comment (by glendaviesnz):

 Hi @vijayhardaha, thanks for taking the time to report this.

 This was an intentional change, made here
 https://github.com/WordPress/gutenberg/pull/35968, in order to ensure that
 any CSS settings for buttons in a theme take priority over the default
 core settings, as a theme should be able to easily override these

 In the case where the theme settings are not the desired ones, then this
 can be overridden by adding custom CSS as you suggested in the forum
 ticket, or in the case of a block-based theme, it can be overridden by
 setting the border at the individual block level, or at a site level using
 global styles in the site editor.

 @oandregal, did you have anything to add to this?

Ticket URL: <https://core.trac.wordpress.org/ticket/55276#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list