Explorar o código

Add a version number for the IE11 script

Ben Dwyer %!s(int64=4) %!d(string=hai) anos
pai
achega
6f96f604ee
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      seedlet/functions.php

+ 2 - 1
seedlet/functions.php

@@ -390,7 +390,8 @@ function seedlet_scripts() {
 		wp_register_script( 'css-vars-ponyfill', get_stylesheet_directory_uri() . '/assets/js/css-vars-ponyfill2.js' );
 		wp_enqueue_script( 'ie11-fix',
 			get_stylesheet_directory_uri() . '/assets/js/ie11-fix.js',
-			array( 'css-vars-ponyfill' )
+			array( 'css-vars-ponyfill' ),
+			'1.0'
 		);
 	}