Changeset 45768
- Timestamp:
- 08/08/2019 01:28:26 AM (5 years ago)
- Location:
- trunk/src/wp-content/themes
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/header.php
r45767 r45768 53 53 <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> 54 54 <!--[if lt IE 9]> 55 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js " type="text/javascript"></script>55 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js?ver=3.7.0" type="text/javascript"></script> 56 56 <![endif]--> 57 57 <?php -
trunk/src/wp-content/themes/twentyeleven/inc/theme-options.php
r45767 r45768 19 19 function twentyeleven_admin_enqueue_scripts( $hook_suffix ) { 20 20 wp_enqueue_style( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.css', false, '20110602' ); 21 wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js', array( 'farbtastic' ), '2011 -06-10' );21 wp_enqueue_script( 'twentyeleven-theme-options', get_template_directory_uri() . '/inc/theme-options.js', array( 'farbtastic' ), '20110610' ); 22 22 wp_enqueue_style( 'farbtastic' ); 23 23 } -
trunk/src/wp-content/themes/twentyeleven/showcase.php
r45604 r45768 17 17 18 18 // Enqueue showcase script for the slider 19 wp_enqueue_script( 'twentyeleven-showcase', get_template_directory_uri() . '/js/showcase.js', array( 'jquery' ), '2011 -04-28' );19 wp_enqueue_script( 'twentyeleven-showcase', get_template_directory_uri() . '/js/showcase.js', array( 'jquery' ), '20110429' ); 20 20 21 21 get_header(); ?> -
trunk/src/wp-content/themes/twentyfifteen/functions.php
r45767 r45768 382 382 wp_style_add_data( 'twentyfifteen-ie7', 'conditional', 'lt IE 8' ); 383 383 384 wp_enqueue_script( 'twentyfifteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '201410 10', true );384 wp_enqueue_script( 'twentyfifteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20141028', true ); 385 385 386 386 if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { … … 389 389 390 390 if ( is_singular() && wp_attachment_is_image() ) { 391 wp_enqueue_script( 'twentyfifteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20141 010' );392 } 393 394 wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '201 50330', true );391 wp_enqueue_script( 'twentyfifteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20141210' ); 392 } 393 394 wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20171218', true ); 395 395 wp_localize_script( 396 396 'twentyfifteen-script', -
trunk/src/wp-content/themes/twentyfifteen/header.php
r45042 r45768 17 17 <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> 18 18 <!--[if lt IE 9]> 19 <script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js "></script>19 <script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js?ver=3.7.0"></script> 20 20 <![endif]--> 21 21 <?php wp_head(); ?> -
trunk/src/wp-content/themes/twentyfourteen/functions.php
r45767 r45768 332 332 333 333 if ( is_singular() && wp_attachment_is_image() ) { 334 wp_enqueue_script( 'twentyfourteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '201 30402' );334 wp_enqueue_script( 'twentyfourteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20150120' ); 335 335 } 336 336 … … 340 340 341 341 if ( is_front_page() && 'slider' == get_theme_mod( 'featured_content_layout' ) ) { 342 wp_enqueue_script( 'twentyfourteen-slider', get_template_directory_uri() . '/js/slider.js', array( 'jquery' ), '201 31205', true );342 wp_enqueue_script( 'twentyfourteen-slider', get_template_directory_uri() . '/js/slider.js', array( 'jquery' ), '20150120', true ); 343 343 wp_localize_script( 344 344 'twentyfourteen-slider', … … 351 351 } 352 352 353 wp_enqueue_script( 'twentyfourteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '201 50315', true );353 wp_enqueue_script( 'twentyfourteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20171218', true ); 354 354 } 355 355 add_action( 'wp_enqueue_scripts', 'twentyfourteen_scripts' ); -
trunk/src/wp-content/themes/twentyfourteen/header.php
r45042 r45768 26 26 <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> 27 27 <!--[if lt IE 9]> 28 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js "></script>28 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js?ver=3.7.0"></script> 29 29 <![endif]--> 30 30 <?php wp_head(); ?> -
trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php
r45609 r45768 141 141 */ 142 142 function twentyfourteen_customize_preview_js() { 143 wp_enqueue_script( 'twentyfourteen_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '201 31205', true );143 wp_enqueue_script( 'twentyfourteen_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20141015', true ); 144 144 } 145 145 add_action( 'customize_preview_init', 'twentyfourteen_customize_preview_js' ); -
trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php
r45609 r45768 435 435 */ 436 436 public static function enqueue_scripts() { 437 wp_enqueue_script( 'featured-content-suggest', get_template_directory_uri() . '/js/featured-content-admin.js', array( 'jquery', 'suggest' ), '20131 022', true );437 wp_enqueue_script( 'featured-content-suggest', get_template_directory_uri() . '/js/featured-content-admin.js', array( 'jquery', 'suggest' ), '20131205', true ); 438 438 } 439 439 -
trunk/src/wp-content/themes/twentynineteen/functions.php
r44382 r45768 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.1', true );226 wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), ' 1.1', true );225 wp_enqueue_script( 'twentynineteen-priority-menu', get_theme_file_uri( '/js/priority-menu.js' ), array(), '20181214', true ); 226 wp_enqueue_script( 'twentynineteen-touch-navigation', get_theme_file_uri( '/js/touch-keyboard-navigation.js' ), array(), '20181231', true ); 227 227 } 228 228 -
trunk/src/wp-content/themes/twentynineteen/inc/customizer.php
r44382 r45768 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' ), '201812 31', true );128 wp_enqueue_script( 'twentynineteen-customize-preview', get_theme_file_uri( '/js/customize-preview.js' ), array( 'customize-preview' ), '20181214', true ); 129 129 } 130 130 add_action( 'customize_preview_init', 'twentynineteen_customize_preview_js' ); … … 134 134 */ 135 135 function twentynineteen_panels_js() { 136 wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '201812 31', true );136 wp_enqueue_script( 'twentynineteen-customize-controls', get_theme_file_uri( '/js/customize-controls.js' ), array(), '20181214', true ); 137 137 } 138 138 add_action( 'customize_controls_enqueue_scripts', 'twentynineteen_panels_js' ); -
trunk/src/wp-content/themes/twentyseventeen/functions.php
r45767 r45768 469 469 470 470 // Load the html5 shiv. 471 wp_enqueue_script( 'html5', get_theme_file_uri( '/assets/js/html5.js' ), array(), ' 3.7.3' );471 wp_enqueue_script( 'html5', get_theme_file_uri( '/assets/js/html5.js' ), array(), '20161020' ); 472 472 wp_script_add_data( 'html5', 'conditional', 'lt IE 9' ); 473 473 474 wp_enqueue_script( 'twentyseventeen-skip-link-focus-fix', get_theme_file_uri( '/assets/js/skip-link-focus-fix.js' ), array(), ' 1.0', true );474 wp_enqueue_script( 'twentyseventeen-skip-link-focus-fix', get_theme_file_uri( '/assets/js/skip-link-focus-fix.js' ), array(), '20161114', true ); 475 475 476 476 $twentyseventeen_l10n = array( … … 479 479 480 480 if ( has_nav_menu( 'top' ) ) { 481 wp_enqueue_script( 'twentyseventeen-navigation', get_theme_file_uri( '/assets/js/navigation.js' ), array( 'jquery' ), ' 1.0', true );481 wp_enqueue_script( 'twentyseventeen-navigation', get_theme_file_uri( '/assets/js/navigation.js' ), array( 'jquery' ), '20161203', true ); 482 482 $twentyseventeen_l10n['expand'] = __( 'Expand child menu', 'twentyseventeen' ); 483 483 $twentyseventeen_l10n['collapse'] = __( 'Collapse child menu', 'twentyseventeen' ); … … 490 490 } 491 491 492 wp_enqueue_script( 'twentyseventeen-global', get_theme_file_uri( '/assets/js/global.js' ), array( 'jquery' ), ' 1.0', true );492 wp_enqueue_script( 'twentyseventeen-global', get_theme_file_uri( '/assets/js/global.js' ), array( 'jquery' ), '20190121', true ); 493 493 494 494 wp_enqueue_script( 'jquery-scrollto', get_theme_file_uri( '/assets/js/jquery.scrollTo.js' ), array( 'jquery' ), '2.1.2', true ); -
trunk/src/wp-content/themes/twentyseventeen/inc/customizer.php
r43571 r45768 237 237 */ 238 238 function twentyseventeen_customize_preview_js() { 239 wp_enqueue_script( 'twentyseventeen-customize-preview', get_theme_file_uri( '/assets/js/customize-preview.js' ), array( 'customize-preview' ), ' 1.0', true );239 wp_enqueue_script( 'twentyseventeen-customize-preview', get_theme_file_uri( '/assets/js/customize-preview.js' ), array( 'customize-preview' ), '20161002', true ); 240 240 } 241 241 add_action( 'customize_preview_init', 'twentyseventeen_customize_preview_js' ); … … 245 245 */ 246 246 function twentyseventeen_panels_js() { 247 wp_enqueue_script( 'twentyseventeen-customize-controls', get_theme_file_uri( '/assets/js/customize-controls.js' ), array(), ' 1.0', true );247 wp_enqueue_script( 'twentyseventeen-customize-controls', get_theme_file_uri( '/assets/js/customize-controls.js' ), array(), '20161020', true ); 248 248 } 249 249 add_action( 'customize_controls_enqueue_scripts', 'twentyseventeen_panels_js' ); -
trunk/src/wp-content/themes/twentysixteen/functions.php
r45767 r45768 390 390 wp_script_add_data( 'twentysixteen-html5', 'conditional', 'lt IE 9' ); 391 391 392 wp_enqueue_script( 'twentysixteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '201 60816', true );392 wp_enqueue_script( 'twentysixteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20170530', true ); 393 393 394 394 if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { … … 397 397 398 398 if ( is_singular() && wp_attachment_is_image() ) { 399 wp_enqueue_script( 'twentysixteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '201 60816' );400 } 401 402 wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '201812 30', true );399 wp_enqueue_script( 'twentysixteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20170530' ); 400 } 401 402 wp_enqueue_script( 'twentysixteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20181217', true ); 403 403 404 404 wp_localize_script( -
trunk/src/wp-content/themes/twentysixteen/inc/customizer.php
r43571 r45768 485 485 */ 486 486 function twentysixteen_customize_control_js() { 487 wp_enqueue_script( 'color-scheme-control', get_template_directory_uri() . '/js/color-scheme-control.js', array( 'customize-controls', 'iris', 'underscore', 'wp-util' ), '201 60816', true );487 wp_enqueue_script( 'color-scheme-control', get_template_directory_uri() . '/js/color-scheme-control.js', array( 'customize-controls', 'iris', 'underscore', 'wp-util' ), '20170530', true ); 488 488 wp_localize_script( 'color-scheme-control', 'colorScheme', twentysixteen_get_color_schemes() ); 489 489 } … … 496 496 */ 497 497 function twentysixteen_customize_preview_js() { 498 wp_enqueue_script( 'twentysixteen-customize-preview', get_template_directory_uri() . '/js/customize-preview.js', array( 'customize-preview' ), '201 60816', true );498 wp_enqueue_script( 'twentysixteen-customize-preview', get_template_directory_uri() . '/js/customize-preview.js', array( 'customize-preview' ), '20170530', true ); 499 499 } 500 500 add_action( 'customize_preview_init', 'twentysixteen_customize_preview_js' ); -
trunk/src/wp-content/themes/twentythirteen/functions.php
r45767 r45768 274 274 275 275 // Loads JavaScript file with functionality specific to Twenty Thirteen. 276 wp_enqueue_script( 'twentythirteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '201 60717', true );276 wp_enqueue_script( 'twentythirteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20171218', true ); 277 277 278 278 // Add Source Sans Pro and Bitter fonts, used in the main stylesheet. -
trunk/src/wp-content/themes/twentythirteen/header.php
r45042 r45768 26 26 <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> 27 27 <!--[if lt IE 9]> 28 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js "></script>28 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js?ver=3.7.0"></script> 29 29 <![endif]--> 30 30 <?php wp_head(); ?> -
trunk/src/wp-content/themes/twentytwelve/functions.php
r45767 r45768 193 193 194 194 // Adds JavaScript for handling the navigation menu hide-and-show behavior. 195 wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array( 'jquery' ), '2014 0711', true );195 wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array( 'jquery' ), '20141205', true ); 196 196 197 197 $font_url = twentytwelve_get_font_url(); -
trunk/src/wp-content/themes/twentytwelve/header.php
r45042 r45768 27 27 <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?> 28 28 <!--[if lt IE 9]> 29 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js " type="text/javascript"></script>29 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js?ver=3.7.0" type="text/javascript"></script> 30 30 <![endif]--> 31 31 <?php wp_head(); ?>
Note: See TracChangeset
for help on using the changeset viewer.