[wp-trac] [WordPress Trac] #65162: /wp-includes/theme.json, line 296
WordPress Trac
noreply at wordpress.org
Mon May 4 15:35:25 UTC 2026
#65162: /wp-includes/theme.json, line 296
--------------------------+-----------------------------
Reporter: jlwilz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 6.9.4
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
/wp-includes/theme.json, line 296
The fallback theme.json file in in WordPress core includes explicit values
for button text and background colors. These are applied in front-end CSS,
causing buttons to be styled with these colors even when neither the theme
nor the user has selected a value. This is an overly opinionated default
that, due to CSS specificity rules, also risks breaking existing themes in
a way that is not easy to diagnose or remedy.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65162>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list