[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
Sun Mar 8 10:27:25 UTC 2026


#64389: Breaking change in 6.9 -> WP Core CSS now forces all links to underline.
-------------------------------------------------+-------------------------
 Reporter:  mmorris8                             |       Owner:
                                                 |  westonruter
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  7.0
Component:  Themes                               |     Version:  6.9
 Severity:  normal                               |  Resolution:
 Keywords:  reporter-feedback has-patch has-     |     Focuses:  css
  unit-tests needs-testing                       |
-------------------------------------------------+-------------------------

Comment (by ozgursar):

 == Patch Testing Report

 Patch Tested: https://github.com/WordPress/wordpress-develop/pull/10875

 === Environment
 - WordPress: 7.0-beta3-61849-src
 - PHP: 8.2.29
 - Server: nginx/1.29.4
 - Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
 - Browser: Opera
 - OS: macOS
 - Theme: Hello Elementor 3.4.6
 - MU Plugins: None activated
 - Plugins:
   * Code Snippets 3.9.5
   * Elementor 3.35.6
   * Test Reports 1.2.1

 === Steps taken
 1. Install Elementor and Hello Elementor theme
 2. Add the following snippets via `functions.php` or Code Snippets plugin


 {{{
 add_filter( 'wp_should_output_buffer_template_for_enhancement',
 '__return_true' );

 add_filter(
         'print_styles_array',
         static function ( $handles ) {
                 if ( in_array( 'global-styles', $handles ) ) {
                         wp_add_inline_style( 'global-styles', 'a { text-
 decoration: underline; }' );
                 }
                 return $handles;
         }
 );
 }}}

 3. Create a blank post
 4. Confirm the underlined link and position where `global-styles-inline-
 css` is printed ''after'' `hello-elementor-css`
 5. Apply patch
 6. Confirm that the link is no longer underlined and `global-styles-
 inline-css` is printed ''before'' `hello-elementor-css`
 x. ✅ Patch is solving the problem

 === Screenshots/Screencast with results
 Before
 [[Image(https://i.imgur.com/rIeGuJw.png)]]

 After
 [[Image(https://i.imgur.com/Zb9JQSD.png)]]

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


More information about the wp-trac mailing list