Changeset 61430 for trunk/src/wp-includes/block-supports/dimensions.php
- Timestamp:
- 01/05/2026 04:50:51 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/dimensions.php
r57491 r61430 61 61 62 62 $has_min_height_support = block_has_support( $block_type, array( 'dimensions', 'minHeight' ), false ); 63 $block_styles = isset( $block_attributes['style'] ) ? $block_attributes['style'] :null;63 $block_styles = $block_attributes['style'] ?? null; 64 64 65 65 if ( ! $block_styles ) { … … 71 71 $dimensions_block_styles['minHeight'] = null; 72 72 if ( $has_min_height_support && ! $skip_min_height ) { 73 $dimensions_block_styles['minHeight'] = isset( $block_styles['dimensions']['minHeight'] ) 74 ? $block_styles['dimensions']['minHeight'] 75 : null; 73 $dimensions_block_styles['minHeight'] = $block_styles['dimensions']['minHeight'] ?? null; 76 74 } 77 75 $styles = wp_style_engine_get_styles( array( 'dimensions' => $dimensions_block_styles ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)