@@ -446,24 +446,24 @@ function twentyseventeen_scripts() {
446446 wp_enqueue_style ( 'twentyseventeen-fonts ' , twentyseventeen_fonts_url (), array (), null );
447447
448448 // Theme stylesheet.
449- wp_enqueue_style ( 'twentyseventeen-style ' , get_stylesheet_uri (), array (), wp_get_theme ()-> get ( ' Version ' ) );
449+ wp_enqueue_style ( 'twentyseventeen-style ' , get_stylesheet_uri () );
450450
451451 // Theme block stylesheet.
452- wp_enqueue_style ( 'twentyseventeen-block-style ' , get_theme_file_uri ( '/assets/css/blocks.css ' ), array ( 'twentyseventeen-style ' ), wp_get_theme ()-> get ( ' Version ' ) );
452+ wp_enqueue_style ( 'twentyseventeen-block-style ' , get_theme_file_uri ( '/assets/css/blocks.css ' ), array ( 'twentyseventeen-style ' ), ' 1.1 ' );
453453
454454 // Load the dark colorscheme.
455455 if ( 'dark ' === get_theme_mod ( 'colorscheme ' , 'light ' ) || is_customize_preview () ) {
456- wp_enqueue_style ( 'twentyseventeen-colors-dark ' , get_theme_file_uri ( '/assets/css/colors-dark.css ' ), array ( 'twentyseventeen-style ' ), wp_get_theme ()-> get ( ' Version ' ) );
456+ wp_enqueue_style ( 'twentyseventeen-colors-dark ' , get_theme_file_uri ( '/assets/css/colors-dark.css ' ), array ( 'twentyseventeen-style ' ), ' 1.0 ' );
457457 }
458458
459459 // Load the Internet Explorer 9 specific stylesheet, to fix display issues in the Customizer.
460460 if ( is_customize_preview () ) {
461- wp_enqueue_style ( 'twentyseventeen-ie9 ' , get_theme_file_uri ( '/assets/css/ie9.css ' ), array ( 'twentyseventeen-style ' ), wp_get_theme ()-> get ( ' Version ' ) );
461+ wp_enqueue_style ( 'twentyseventeen-ie9 ' , get_theme_file_uri ( '/assets/css/ie9.css ' ), array ( 'twentyseventeen-style ' ), ' 1.0 ' );
462462 wp_style_add_data ( 'twentyseventeen-ie9 ' , 'conditional ' , 'IE 9 ' );
463463 }
464464
465465 // Load the Internet Explorer 8 specific stylesheet.
466- wp_enqueue_style ( 'twentyseventeen-ie8 ' , get_theme_file_uri ( '/assets/css/ie8.css ' ), array ( 'twentyseventeen-style ' ), wp_get_theme ()-> get ( ' Version ' ) );
466+ wp_enqueue_style ( 'twentyseventeen-ie8 ' , get_theme_file_uri ( '/assets/css/ie8.css ' ), array ( 'twentyseventeen-style ' ), ' 1.0 ' );
467467 wp_style_add_data ( 'twentyseventeen-ie8 ' , 'conditional ' , 'lt IE 9 ' );
468468
469469 // Load the html5 shiv.
@@ -507,7 +507,7 @@ function twentyseventeen_scripts() {
507507 */
508508function twentyseventeen_block_editor_styles () {
509509 // Block styles.
510- wp_enqueue_style ( 'twentyseventeen-block-editor-style ' , get_theme_file_uri ( '/assets/css/editor-blocks.css ' ), array (), wp_get_theme ()-> get ( ' Version ' ) );
510+ wp_enqueue_style ( 'twentyseventeen-block-editor-style ' , get_theme_file_uri ( '/assets/css/editor-blocks.css ' ), array (), ' 1.1 ' );
511511 // Add custom fonts.
512512 wp_enqueue_style ( 'twentyseventeen-fonts ' , twentyseventeen_fonts_url (), array (), null );
513513}
0 commit comments