- Timestamp:
- 08/08/2019 01:28:26 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 );
Note: See TracChangeset
for help on using the changeset viewer.