- Timestamp:
- 10/17/2025 09:04:52 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r60913 r60966 472 472 } 473 473 474 // Register the Internet Explorer 9 specific stylesheet, to fix display issues in the Customizer.474 // Register handles for removed stylesheets and scripts. 475 475 if ( is_customize_preview() ) { 476 wp_register_style( 'twentyseventeen-ie9', get_theme_file_uri( '/assets/css/ie9.css' ), array( 'twentyseventeen-style' ), '20161202' ); 477 wp_style_add_data( 'twentyseventeen-ie9', 'conditional', 'IE 9' ); 478 } 479 480 // Register the Internet Explorer 8 specific stylesheet. 481 wp_register_style( 'twentyseventeen-ie8', get_theme_file_uri( '/assets/css/ie8.css' ), array( 'twentyseventeen-style' ), '20161202' ); 482 wp_style_add_data( 'twentyseventeen-ie8', 'conditional', 'lt IE 9' ); 483 484 // Register the html5 shiv. 485 wp_register_script( 'html5', get_theme_file_uri( '/assets/js/html5.js' ), array(), '20161020' ); 486 wp_script_add_data( 'html5', 'conditional', 'lt IE 9' ); 487 488 // Skip-link fix is no longer enqueued by default. 476 wp_register_style( 'twentyseventeen-ie9', false, array( 'twentyseventeen-style' ) ); 477 } 478 wp_register_style( 'twentyseventeen-ie8', false, array( 'twentyseventeen-style' ) ); 479 wp_register_script( 'html5', false ); 489 480 wp_register_script( 'twentyseventeen-skip-link-focus-fix', get_theme_file_uri( '/assets/js/skip-link-focus-fix.js' ), array(), '20161114', array( 'in_footer' => true ) ); 490 481
Note: See TracChangeset
for help on using the changeset viewer.