[wp-trac] [WordPress Trac] #61660: links are now underlined

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


#61660: links are now underlined
-------------------------------------------------+-------------------------
 Reporter:  Annubis                              |       Owner:  noisysocks
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  high                                 |   Milestone:  6.6.1
Component:  Editor                               |     Version:  6.6
 Severity:  normal                               |  Resolution:
 Keywords:  gutenberg-merge needs-testing has-   |     Focuses:  css
  testing-info dev-reviewed                      |
-------------------------------------------------+-------------------------

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/61660#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list