Changeset 45218
- Timestamp:
- 04/16/2019 06:21:24 PM (6 years ago)
- Location:
- trunk/src/wp-content/themes
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/functions.php
r45213 r45218 295 295 function twentyeleven_scripts_styles() { 296 296 // Theme block stylesheet. 297 wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), wp_get_theme()->get( 'Version' ));297 wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' ); 298 298 } 299 299 add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' ); … … 306 306 function twentyeleven_block_editor_styles() { 307 307 // Block styles. 308 wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ));308 wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230' ); 309 309 } 310 310 add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' ); -
trunk/src/wp-content/themes/twentyeleven/header.php
r45213 r45218 49 49 </title> 50 50 <link rel="profile" href="http://gmpg.org/xfn/11" /> 51 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?> ?ver=<?php echo esc_attr( wp_get_theme()->get( 'Version' ) ); ?>" />51 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> 52 52 <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> 53 53 <!--[if lt IE 9]> -
trunk/src/wp-content/themes/twentyeleven/inc/theme-options.php
r45213 r45218 18 18 */ 19 19 function twentyeleven_admin_enqueue_scripts( $hook_suffix ) { 20 wp_enqueue_style( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', false, wp_get_theme()->get( 'Version' ));20 wp_enqueue_style( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', false, '2011-04-28' ); 21 21 wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js', array( 'farbtastic' ), '2011-06-10' ); 22 22 wp_enqueue_style( 'farbtastic' ); … … 408 408 409 409 if ( 'dark' == $color_scheme ) { 410 wp_enqueue_style( 'dark', get_template_directory_uri() . '/colors/dark.css', array(), wp_get_theme()->get( 'Version' ));410 wp_enqueue_style( 'dark', get_template_directory_uri() . '/colors/dark.css', array(), null ); 411 411 } 412 412 -
trunk/src/wp-content/themes/twentyfifteen/functions.php
r45213 r45218 368 368 369 369 // Load our main stylesheet. 370 wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() , array(), wp_get_theme()->get( 'Version' ));370 wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() ); 371 371 372 372 // Theme block stylesheet. 373 wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), wp_get_theme()->get( 'Version' ));373 wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20181230' ); 374 374 375 375 // Load the Internet Explorer specific stylesheet. 376 wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), wp_get_theme()->get( 'Version' ));376 wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' ); 377 377 wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' ); 378 378 379 379 // Load the Internet Explorer 7 specific stylesheet. 380 wp_enqueue_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), wp_get_theme()->get( 'Version' ));380 wp_enqueue_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), '20141010' ); 381 381 wp_style_add_data( 'twentyfifteen-ie7', 'conditional', 'lt IE 8' ); 382 382 … … 410 410 function twentyfifteen_block_editor_styles() { 411 411 // Block styles. 412 wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ));412 wp_enqueue_style( 'twentyfifteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' ); 413 413 // Add custom fonts. 414 414 wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), null ); -
trunk/src/wp-content/themes/twentyfourteen/functions.php
r45213 r45218 317 317 318 318 // Load our main stylesheet. 319 wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() , array(), wp_get_theme()->get( 'Version' ));319 wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() ); 320 320 321 321 // Theme block stylesheet. 322 wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), wp_get_theme()->get( 'Version' ));322 wp_enqueue_style( 'twentyfourteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfourteen-style' ), '20181230' ); 323 323 324 324 // Load the Internet Explorer specific stylesheet. 325 wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), wp_get_theme()->get( 'Version' ));325 wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20131205' ); 326 326 wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' ); 327 327 … … 396 396 function twentyfourteen_block_editor_styles() { 397 397 // Block styles. 398 wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ));398 wp_enqueue_style( 'twentyfourteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' ); 399 399 // Add custom fonts. 400 400 wp_enqueue_style( 'twentyfourteen-fonts', twentyfourteen_font_url(), array(), null ); -
trunk/src/wp-content/themes/twentyseventeen/functions.php
r45213 r45218 447 447 448 448 // 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() ); 450 450 451 451 // 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' ); 453 453 454 454 // Load the dark colorscheme. 455 455 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' ); 457 457 } 458 458 459 459 // Load the Internet Explorer 9 specific stylesheet, to fix display issues in the Customizer. 460 460 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' ); 462 462 wp_style_add_data( 'twentyseventeen-ie9', 'conditional', 'IE 9' ); 463 463 } 464 464 465 465 // 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' ); 467 467 wp_style_add_data( 'twentyseventeen-ie8', 'conditional', 'lt IE 9' ); 468 468 … … 508 508 function twentyseventeen_block_editor_styles() { 509 509 // 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' ); 511 511 // Add custom fonts. 512 512 wp_enqueue_style( 'twentyseventeen-fonts', twentyseventeen_fonts_url(), array(), null ); -
trunk/src/wp-content/themes/twentysixteen/functions.php
r45213 r45218 368 368 369 369 // Theme stylesheet. 370 wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri() , array(), wp_get_theme()->get( 'Version' ));370 wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri() ); 371 371 372 372 // Theme block stylesheet. 373 wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), wp_get_theme()->get( 'Version' ));373 wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20181230' ); 374 374 375 375 // Load the Internet Explorer specific stylesheet. 376 wp_enqueue_style( 'twentysixteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentysixteen-style' ), wp_get_theme()->get( 'Version' ));376 wp_enqueue_style( 'twentysixteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentysixteen-style' ), '20160816' ); 377 377 wp_style_add_data( 'twentysixteen-ie', 'conditional', 'lt IE 10' ); 378 378 379 379 // Load the Internet Explorer 8 specific stylesheet. 380 wp_enqueue_style( 'twentysixteen-ie8', get_template_directory_uri() . '/css/ie8.css', array( 'twentysixteen-style' ), wp_get_theme()->get( 'Version' ));380 wp_enqueue_style( 'twentysixteen-ie8', get_template_directory_uri() . '/css/ie8.css', array( 'twentysixteen-style' ), '20160816' ); 381 381 wp_style_add_data( 'twentysixteen-ie8', 'conditional', 'lt IE 9' ); 382 382 383 383 // Load the Internet Explorer 7 specific stylesheet. 384 wp_enqueue_style( 'twentysixteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentysixteen-style' ), wp_get_theme()->get( 'Version' ));384 wp_enqueue_style( 'twentysixteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentysixteen-style' ), '20160816' ); 385 385 wp_style_add_data( 'twentysixteen-ie7', 'conditional', 'lt IE 8' ); 386 386 … … 419 419 function twentysixteen_block_editor_styles() { 420 420 // Block styles. 421 wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ));421 wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' ); 422 422 // Add custom fonts. 423 423 wp_enqueue_style( 'twentysixteen-fonts', twentysixteen_fonts_url(), array(), null ); -
trunk/src/wp-content/themes/twentyten/functions.php
r45213 r45218 704 704 function twentyten_scripts_styles() { 705 705 // Theme block stylesheet. 706 wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), wp_get_theme()->get( 'Version' ));706 wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181018' ); 707 707 } 708 708 add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' ); … … 715 715 function twentyten_block_editor_styles() { 716 716 // Block styles. 717 wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css' , array(), wp_get_theme()->get( 'Version' ));717 wp_enqueue_style( 'twentyten-block-editor-style', get_template_directory_uri() . '/editor-blocks.css' ); 718 718 } 719 719 add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' ); -
trunk/src/wp-content/themes/twentyten/header.php
r45213 r45218 39 39 </title> 40 40 <link rel="profile" href="http://gmpg.org/xfn/11" /> 41 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?> ?ver=<?php echo esc_attr( wp_get_theme()->get( 'Version' ) ); ?>" />41 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> 42 42 <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> 43 43 <?php -
trunk/src/wp-content/themes/twentythirteen/functions.php
r45213 r45218 282 282 283 283 // Loads our main stylesheet. 284 wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), wp_get_theme()->get( 'Version' ));284 wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '2013-07-18' ); 285 285 286 286 // Theme block stylesheet. 287 wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), wp_get_theme()->get( 'Version' ));287 wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-12-30' ); 288 288 289 289 // Loads the Internet Explorer specific stylesheet. 290 wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), wp_get_theme()->get( 'Version' ));290 wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '2013-07-18' ); 291 291 wp_style_add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' ); 292 292 } … … 325 325 function twentythirteen_block_editor_styles() { 326 326 // Block styles. 327 wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ));327 wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '2018-12-30' ); 328 328 // Add custom fonts. 329 329 wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null ); -
trunk/src/wp-content/themes/twentytwelve/functions.php
r45213 r45218 200 200 201 201 // Loads our main stylesheet. 202 wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() , array(), wp_get_theme()->get( 'Version' ));202 wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() ); 203 203 204 204 // Theme block stylesheet. 205 wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), wp_get_theme()->get( 'Version' ));205 wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181230' ); 206 206 207 207 // Loads the Internet Explorer specific stylesheet. 208 wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), wp_get_theme()->get( 'Version' ));208 wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' ); 209 209 $wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' ); 210 210 } … … 218 218 function twentytwelve_block_editor_styles() { 219 219 // Block styles. 220 wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ));220 wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' ); 221 221 // Add custom fonts. 222 222 wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), null );
Note: See TracChangeset
for help on using the changeset viewer.