Ticket #45402: 45402.2.diff
| File 45402.2.diff, 1.1 KB (added by , 7 years ago) |
|---|
-
src/wp-includes/script-loader.php
111 111 $path = "/wp-includes/js/dist/vendor/$handle$dev_suffix.js"; 112 112 $version = $vendor_scripts_versions[ $handle ]; 113 113 114 $scripts->add( $handle, $path, $dependencies, false, $version);114 $scripts->add( $handle, $path, $dependencies, $version, 1s ); 115 115 } 116 116 117 117 $scripts->add( 'wp-polyfill', null, array( 'wp-polyfill' ) ); … … 210 210 'api-fetch' => '2.2.5', 211 211 'a11y' => '2.0.2', 212 212 'annotations' => '1.0.3', 213 'api-fetch' => '2.2.5',214 213 'autop' => '2.0.2', 215 214 'blob' => '2.1.0', 216 215 'block-library' => '2.2.7', … … 468 467 $path = "/wp-includes/js/dist/$package$suffix.js"; 469 468 $version = $packages_versions[ $package ]; 470 469 471 $scripts->add( $handle, $path, $dependencies, false, $version);470 $scripts->add( $handle, $path, $dependencies, $version, 1 ); 472 471 473 472 if ( isset( $package_translations[ $package ] ) ) { 474 473 $scripts->set_translations( $handle, $package_translations[ $package ] );