Changeset 52262
- Timestamp:
- 11/28/2021 09:10:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r52189 r52262 2460 2460 add_filter( 2461 2461 'render_block', 2462 function( $html ) use ( $style_properties ) { 2463 wp_enqueue_style( $style_properties['style_handle'] ); 2462 function( $html, $block ) use ( $block_name, $style_properties ) { 2463 if ( $block['blockName'] === $block_name ) { 2464 wp_enqueue_style( $style_properties['style_handle'] ); 2465 } 2464 2466 return $html; 2465 } 2467 }, 2468 10, 2469 2 2466 2470 ); 2467 2471 } else {
Note: See TracChangeset
for help on using the changeset viewer.