- Timestamp:
- 08/08/2019 01:24:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r45675 r45767 448 448 449 449 // Theme stylesheet. 450 wp_enqueue_style( 'twentyseventeen-style', get_stylesheet_uri() );450 wp_enqueue_style( 'twentyseventeen-style', get_stylesheet_uri(), array(), '20190507' ); 451 451 452 452 // Theme block stylesheet. 453 wp_enqueue_style( 'twentyseventeen-block-style', get_theme_file_uri( '/assets/css/blocks.css' ), array( 'twentyseventeen-style' ), ' 1.1' );453 wp_enqueue_style( 'twentyseventeen-block-style', get_theme_file_uri( '/assets/css/blocks.css' ), array( 'twentyseventeen-style' ), '20190105' ); 454 454 455 455 // Load the dark colorscheme. 456 456 if ( 'dark' === get_theme_mod( 'colorscheme', 'light' ) || is_customize_preview() ) { 457 wp_enqueue_style( 'twentyseventeen-colors-dark', get_theme_file_uri( '/assets/css/colors-dark.css' ), array( 'twentyseventeen-style' ), ' 1.0' );457 wp_enqueue_style( 'twentyseventeen-colors-dark', get_theme_file_uri( '/assets/css/colors-dark.css' ), array( 'twentyseventeen-style' ), '20190408' ); 458 458 } 459 459 460 460 // Load the Internet Explorer 9 specific stylesheet, to fix display issues in the Customizer. 461 461 if ( is_customize_preview() ) { 462 wp_enqueue_style( 'twentyseventeen-ie9', get_theme_file_uri( '/assets/css/ie9.css' ), array( 'twentyseventeen-style' ), ' 1.0' );462 wp_enqueue_style( 'twentyseventeen-ie9', get_theme_file_uri( '/assets/css/ie9.css' ), array( 'twentyseventeen-style' ), '20161202' ); 463 463 wp_style_add_data( 'twentyseventeen-ie9', 'conditional', 'IE 9' ); 464 464 } 465 465 466 466 // Load the Internet Explorer 8 specific stylesheet. 467 wp_enqueue_style( 'twentyseventeen-ie8', get_theme_file_uri( '/assets/css/ie8.css' ), array( 'twentyseventeen-style' ), ' 1.0' );467 wp_enqueue_style( 'twentyseventeen-ie8', get_theme_file_uri( '/assets/css/ie8.css' ), array( 'twentyseventeen-style' ), '20161202' ); 468 468 wp_style_add_data( 'twentyseventeen-ie8', 'conditional', 'lt IE 9' ); 469 469 … … 509 509 function twentyseventeen_block_editor_styles() { 510 510 // Block styles. 511 wp_enqueue_style( 'twentyseventeen-block-editor-style', get_theme_file_uri( '/assets/css/editor-blocks.css' ), array(), ' 1.1' );511 wp_enqueue_style( 'twentyseventeen-block-editor-style', get_theme_file_uri( '/assets/css/editor-blocks.css' ), array(), '20190328' ); 512 512 // Add custom fonts. 513 513 wp_enqueue_style( 'twentyseventeen-fonts', twentyseventeen_fonts_url(), array(), null );
Note: See TracChangeset
for help on using the changeset viewer.