- Timestamp:
- 06/22/2023 05:59:43 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r55929 r55980 463 463 } 464 464 465 // Loadthe Internet Explorer 9 specific stylesheet, to fix display issues in the Customizer.465 // Register the Internet Explorer 9 specific stylesheet, to fix display issues in the Customizer. 466 466 if ( is_customize_preview() ) { 467 wp_ enqueue_style( 'twentyseventeen-ie9', get_theme_file_uri( '/assets/css/ie9.css' ), array( 'twentyseventeen-style' ), '20161202' );467 wp_register_style( 'twentyseventeen-ie9', get_theme_file_uri( '/assets/css/ie9.css' ), array( 'twentyseventeen-style' ), '20161202' ); 468 468 wp_style_add_data( 'twentyseventeen-ie9', 'conditional', 'IE 9' ); 469 469 } 470 470 471 // Loadthe Internet Explorer 8 specific stylesheet.472 wp_ enqueue_style( 'twentyseventeen-ie8', get_theme_file_uri( '/assets/css/ie8.css' ), array( 'twentyseventeen-style' ), '20161202' );471 // Register the Internet Explorer 8 specific stylesheet. 472 wp_register_style( 'twentyseventeen-ie8', get_theme_file_uri( '/assets/css/ie8.css' ), array( 'twentyseventeen-style' ), '20161202' ); 473 473 wp_style_add_data( 'twentyseventeen-ie8', 'conditional', 'lt IE 9' ); 474 474 475 // Loadthe html5 shiv.476 wp_ enqueue_script( 'html5', get_theme_file_uri( '/assets/js/html5.js' ), array(), '20161020' );475 // Register the html5 shiv. 476 wp_register_style( 'html5', get_theme_file_uri( '/assets/js/html5.js' ), array(), '20161020' ); 477 477 wp_script_add_data( 'html5', 'conditional', 'lt IE 9' ); 478 478
Note: See TracChangeset
for help on using the changeset viewer.