Ticket #45679: 45679.2.patch
File 45679.2.patch, 12.6 KB (added by , 6 years ago) |
---|
-
src/wp-content/themes/twentyeleven/functions.php
292 292 */ 293 293 function twentyeleven_scripts_styles() { 294 294 // Theme block stylesheet. 295 wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181 018' );295 wp_enqueue_style( 'twentyeleven-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' ); 296 296 } 297 297 add_action( 'wp_enqueue_scripts', 'twentyeleven_scripts_styles' ); 298 298 … … 303 303 */ 304 304 function twentyeleven_block_editor_styles() { 305 305 // Block styles. 306 wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css' );306 wp_enqueue_style( 'twentyeleven-block-editor-style', get_template_directory_uri() . '/editor-blocks.css', array(), '20181230' ); 307 307 } 308 308 add_action( 'enqueue_block_editor_assets', 'twentyeleven_block_editor_styles' ); 309 309 -
src/wp-content/themes/twentyfifteen/functions.php
370 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' ), '20181 018' );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 376 wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' ); … … 409 409 */ 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' );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 ); 415 415 } -
src/wp-content/themes/twentyfourteen/functions.php
319 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' ), '20181 018' );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 325 wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20131205' ); … … 395 395 */ 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' );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 ); 401 401 } -
src/wp-content/themes/twentynineteen/functions.php
222 222 wp_style_add_data( 'twentynineteen-style', 'rtl', 'replace' ); 223 223 224 224 if ( has_nav_menu( 'menu-1' ) ) { 225 wp_enqueue_script( 'twentynineteen-priority-menu', get_theme_file_uri( '/js/priority-menu.js' ), array(), '1. 0', true );226 wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '1. 0', true );225 wp_enqueue_script( 'twentynineteen-priority-menu', get_theme_file_uri( '/js/priority-menu.js' ), array(), '1.1', true ); 226 wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '1.1', true ); 227 227 } 228 228 229 229 wp_enqueue_style( 'twentynineteen-print-style', get_template_directory_uri() . '/print.css', array(), wp_get_theme()->get( 'Version' ), 'print' ); … … 257 257 */ 258 258 function twentynineteen_editor_customizer_styles() { 259 259 260 wp_enqueue_style( 'twentynineteen-editor-customizer-styles', get_theme_file_uri( '/style-editor-customizer.css' ), false, '1. 0', 'all' );260 wp_enqueue_style( 'twentynineteen-editor-customizer-styles', get_theme_file_uri( '/style-editor-customizer.css' ), false, '1.1', 'all' ); 261 261 262 262 if ( 'custom' === get_theme_mod( 'primary_color' ) ) { 263 263 // Include color patterns. -
src/wp-content/themes/twentynineteen/inc/customizer.php
125 125 * Bind JS handlers to instantly live-preview changes. 126 126 */ 127 127 function twentynineteen_customize_preview_js() { 128 wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20181 108', true );128 wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20181231', true ); 129 129 } 130 130 add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' ); 131 131 … … 133 133 * Load dynamic logic for the customizer controls area. 134 134 */ 135 135 function twentynineteen_panels_js() { 136 wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '20181 031', true );136 wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '20181231', true ); 137 137 } 138 138 add_action( 'customize_controls_enqueue_scripts', 'twentynineteen_panels_js' ); 139 139 -
src/wp-content/themes/twentyseventeen/functions.php
449 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' ), '1. 0' );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() ) { … … 507 507 */ 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' ) );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 ); 513 513 } -
src/wp-content/themes/twentysixteen/functions.php
370 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' ), '20181 018' );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 376 wp_enqueue_style( 'twentysixteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentysixteen-style' ), '20160816' ); … … 398 398 wp_enqueue_script( 'twentysixteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20160816' ); 399 399 } 400 400 401 wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '201 60816', true );401 wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20181230', true ); 402 402 403 403 wp_localize_script( 404 404 'twentysixteen-script', … … 418 418 */ 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' );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 ); 424 424 } -
src/wp-content/themes/twentyten/functions.php
701 701 */ 702 702 function twentyten_scripts_styles() { 703 703 // Theme block stylesheet. 704 wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181 018' );704 wp_enqueue_style( 'twentyten-block-style', get_template_directory_uri() . '/blocks.css', array(), '20181230' ); 705 705 } 706 706 add_action( 'wp_enqueue_scripts', 'twentyten_scripts_styles' ); 707 707 -
src/wp-content/themes/twentythirteen/functions.php
283 283 wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '2013-07-18' ); 284 284 285 285 // Theme block stylesheet. 286 wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-1 0-18' );286 wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '2018-12-30' ); 287 287 288 288 // Loads the Internet Explorer specific stylesheet. 289 289 wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentythirteen-style' ), '2013-07-18' ); … … 323 323 */ 324 324 function twentythirteen_block_editor_styles() { 325 325 // Block styles. 326 wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );326 wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '2018-12-30' ); 327 327 // Add custom fonts. 328 328 wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null ); 329 329 } -
src/wp-content/themes/twentytwelve/functions.php
200 200 wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() ); 201 201 202 202 // Theme block stylesheet. 203 wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181 018' );203 wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20181230' ); 204 204 205 205 // Loads the Internet Explorer specific stylesheet. 206 206 wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' ); … … 215 215 */ 216 216 function twentytwelve_block_editor_styles() { 217 217 // Block styles. 218 wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css' );218 wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' ); 219 219 // Add custom fonts. 220 220 wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), null ); 221 221 }