Changeset 43942
- Timestamp:
- 11/23/2018 08:34:44 AM (7 years ago)
- Location:
- branches/5.0/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/edit.php
r43936 r43942 184 184 185 185 if ( 'wp_block' === $post_type ) { 186 wp_enqueue_script( 'wp-list-reusable-blocks' ); 186 187 wp_enqueue_style( 'wp-list-reusable-blocks' ); 187 188 // wp-list-reusable-blocks enhances the page's DOM and so needs to be loaded in the footer.189 wp_enqueue_script( 'wp-list-reusable-blocks', '', array(), false, true );190 188 } 191 189 -
branches/5.0/src/wp-includes/script-loader.php
r43939 r43942 112 112 $version = $vendor_scripts_versions[ $handle ]; 113 113 114 $scripts->add( $handle, $path, $dependencies, false, $version);114 $scripts->add( $handle, $path, $dependencies, $version, 1 ); 115 115 } 116 116 … … 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', … … 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 ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.