Changeset 51291
- Timestamp:
- 06/30/2021 06:47:04 PM (3 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/blocks.php
r51268 r51291 79 79 } 80 80 81 $script_handle = generate_block_asset_handle( $metadata['name'], $field_name ); 82 83 if ( 'viewScript' === $field_name ) { 84 $script_path = str_replace( '.min.js', '.js', $script_path ); 85 } 86 81 $script_handle = generate_block_asset_handle( $metadata['name'], $field_name ); 87 82 $script_asset_path = realpath( 88 83 dirname( $metadata['file'] ) . '/' .
Note: See TracChangeset
for help on using the changeset viewer.