[wp-trac] [WordPress Trac] #61661: WordPress 6.6 display all links as underlined

WordPress Trac noreply at wordpress.org
Tue Jul 16 19:44:41 UTC 2024


#61661: WordPress 6.6 display all links as underlined
--------------------------+------------------------------
 Reporter:  simonbelley   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.6
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:  ui, css
--------------------------+------------------------------

Comment (by butterflymedia):

 I have already opened a ticket on the block editor on GitHub, and they
 said there is a hotfix for 6.6.1. Here is the link -
 https://github.com/WordPress/gutenberg/issues/63345

 Still, there is a bunch of `:root` and `:where` styles overriding
 everything. Another example would be all centred images are now left
 aligned.

 Regarding the underline, their reply was that this is common behaviour for
 browsers to underline links…

 Here is the selector being added by the core:

 {{{
 :root :where(a:where(:not(.wp-element-button))) {
     text-decoration: underline;
 }
 }}}

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


More information about the wp-trac mailing list