Changeset 56064 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 06/27/2023 11:26:12 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r56044 r56064 373 373 if ( ! isset( $metadata['style'] ) ) { 374 374 $metadata['style'] = "wp-block-$block_name"; 375 } 376 if ( current_theme_supports( 'wp-block-styles' ) && wp_should_load_separate_core_block_assets() ) { 377 $metadata['style'] = (array) $metadata['style']; 378 $metadata['style'][] = "wp-block-{$block_name}-theme"; 375 379 } 376 380 if ( ! isset( $metadata['editorStyle'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.