Changeset 58026
- Timestamp:
- 04/20/2024 03:59:10 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/global-styles-and-settings.php
r57546 r58026 330 330 $block_name = str_replace( 'core/', '', $metadata['name'] ); 331 331 $block_handle = 'wp-block-' . $block_name; 332 if ( in_array( $block_handle, $wp_styles->queue ) ) {332 if ( in_array( $block_handle, $wp_styles->queue, true ) ) { 333 333 wp_add_inline_style( $stylesheet_handle, $block_css ); 334 334 } … … 345 345 $block_name = str_replace( 'core/', '', $block_name ); 346 346 $block_handle = 'wp-block-' . $block_name; 347 if ( in_array( $block_handle, $wp_styles->queue ) ) {347 if ( in_array( $block_handle, $wp_styles->queue, true ) ) { 348 348 wp_add_inline_style( $stylesheet_handle, $block_css ); 349 349 }
Note: See TracChangeset
for help on using the changeset viewer.