[wp-trac] [WordPress Trac] #64389: Breaking change in 6.9 -> WP Core CSS now forces all links to underline.
WordPress Trac
noreply at wordpress.org
Fri Dec 19 19:48:13 UTC 2025
#64389: Breaking change in 6.9 -> WP Core CSS now forces all links to underline.
-------------------------------+------------------------------
Reporter: mmorris8 | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 6.9
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: css
-------------------------------+------------------------------
Comment (by joezappie):
On my Tailpress sites, this is a breaking change from 6.8.3 to 6.9 with no
other changes.
Previously, the global styles were added before all the theme CSS was
enqueued. Just by upgrading to 6.9, all my links are now underlined and
looking at the source, the global styles now come after the themes styles.
To fix it, I did increase the specificity from `a {}` to `:root a {}`.
That said, this rule in general has been a nuisance. I do not think that
WordPress should be enforcing all links (except their own button) to have
underlines by default and that it should be up to the theme to decide. The
majority of clickable links on the internet probably do not have
underlines, unless its in some large content block such as an article. I
prefer additive not subtractive CSS, and when using more modern features
like @layer, things like this require !important to override.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64389#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list