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

WordPress Trac noreply at wordpress.org
Thu Jul 18 09:13:48 UTC 2024


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

Comment (by butterflymedia):

 The filter below fixed the entire issue for me:

 {{{
 add_action(
     'wp_head',
     function () {
         global $wp_styles;

         if ( ! empty( $wp_styles->registered['global-
 styles']->extra['after'][0] ) ){
                 $wp_styles->registered['global-styles']->extra['after'][0]
 = str_replace(
                 [
                     ':root :where',
                     ':root',
                     ':where',
                 ],
                 '',
                 $wp_styles->registered['global-styles']->extra['after'][0]
             );
         }
     },
     1
 );
 }}}

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


More information about the wp-trac mailing list