[wp-trac] [WordPress Trac] #65162: /wp-includes/theme.json, line 296

WordPress Trac noreply at wordpress.org
Wed May 13 06:23:38 UTC 2026


#65162: /wp-includes/theme.json, line 296
-------------------------------+------------------------------
 Reporter:  jlwilz             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Themes             |     Version:  6.9.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by poena):

 * keywords:   => reporter-feedback


Comment:

 Hi @jlwilz
 Thank you for your suggestion.

 There are no current plans to remove or update the defaults. Do you have a
 suggestion specifically about changing the specificity?

 Like you already mentioned, the CSS was added to make sure that the
 elements are styled when neither the theme or the user adds styling.
 This is to make sure that the button blocks are are accessible, and that
 they have a default style that is distinct from regular links.
 The specificity is chosen so that it can be overwritten by the settings in
 the interface, and programmatically.


 Pinging @aaronrobertshaw in case you have anything to add.


 (I also want to add a note that changes to blocks, the block editor or
 theme.json need to be managed in the Gutenberg GitHub repository. Changes
 are tested in the plugin before they are merged into WordPress core.)

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


More information about the wp-trac mailing list