Skip to content

Commit f6efc5b

Browse files
committed
fix function name
1 parent 954db32 commit f6efc5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wp-includes/block-supports/dimensions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function wp_apply_dimensions_support( $block_type, $block_attributes ) { // phpc
7272
if ( $has_min_height_support && ! $skip_min_height ) {
7373
$dimensions_block_styles['minHeight'] = $block_styles['dimensions']['minHeight'] ?? null;
7474
}
75-
$styles = gutenberg_style_engine_get_styles( array( 'dimensions' => $dimensions_block_styles ) );
75+
$styles = wp_style_engine_get_styles( array( 'dimensions' => $dimensions_block_styles ) );
7676

7777
if ( ! empty( $styles['css'] ) ) {
7878
$attributes['style'] = $styles['css'];

src/wp-includes/block-supports/spacing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function wp_apply_spacing_support( $block_type, $block_attributes ) {
7070
if ( $has_margin_support && ! $skip_margin ) {
7171
$spacing_block_styles['margin'] = $block_styles['spacing']['margin'] ?? null;
7272
}
73-
$styles = gutenberg_style_engine_get_styles( array( 'spacing' => $spacing_block_styles ) );
73+
$styles = wp_style_engine_get_styles( array( 'spacing' => $spacing_block_styles ) );
7474

7575
if ( ! empty( $styles['css'] ) ) {
7676
$attributes['style'] = $styles['css'];

0 commit comments

Comments
 (0)