Skip to content

Commit e04e0cb

Browse files
authored
Remove conditional data and source from registered IE stylesheet
1 parent 8508427 commit e04e0cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wp-content/themes/twentythirteen/functions.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,7 @@ function twentythirteen_scripts_styles() {
350350
wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '20240520' );
351351

352352
// Registers the Internet Explorer specific stylesheet.
353-
wp_register_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '20150214' );
354-
wp_style_add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' );
353+
wp_register_style( 'twentythirteen-ie', false, array( 'twentythirteen-style' ) );
355354
}
356355
add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' );
357356

0 commit comments

Comments
 (0)