- Timestamp:
- 12/17/2018 07:33:09 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43942
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/edit.php
r44274 r44277 202 202 203 203 if ( 'wp_block' === $post_type ) { 204 wp_enqueue_script( 'wp-list-reusable-blocks' ); 204 205 wp_enqueue_style( 'wp-list-reusable-blocks' ); 205 206 // wp-list-reusable-blocks enhances the page's DOM and so needs to be loaded in the footer.207 wp_enqueue_script( 'wp-list-reusable-blocks', '', array(), false, true );208 206 } 209 207 -
trunk/src/wp-includes/script-loader.php
r44275 r44277 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 … … 467 467 $version = $packages_versions[ $package ]; 468 468 469 $scripts->add( $handle, $path, $dependencies, false, $version);469 $scripts->add( $handle, $path, $dependencies, $version, 1 ); 470 470 471 471 if ( isset( $package_translations[ $package ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.