Changeset 55822 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 05/17/2023 10:44:21 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r55820 r55822 2406 2406 return array_filter( 2407 2407 $nodes, 2408 function( $node ) {2408 static function( $node ) { 2409 2409 return ! in_array( 'blocks', $node['path'], true ); 2410 2410 }, … … 2636 2636 add_filter( 2637 2637 'render_block', 2638 function( $html, $block ) use ( $block_name, $style_properties ) {2638 static function( $html, $block ) use ( $block_name, $style_properties ) { 2639 2639 if ( $block['blockName'] === $block_name ) { 2640 2640 wp_enqueue_style( $style_properties['style_handle'] );
Note: See TracChangeset
for help on using the changeset viewer.