Changeset 51104
- Timestamp:
- 06/08/2021 06:05:35 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/typography.php
r51089 r51104 125 125 126 126 if ( $has_font_style_support ) { 127 $font_style = gutenberg_typography_get_css_variable_inline_style( $block_attributes, 'fontStyle', 'font-style' );127 $font_style = wp_typography_get_css_variable_inline_style( $block_attributes, 'fontStyle', 'font-style' ); 128 128 if ( $font_style ) { 129 129 $styles[] = $font_style; … … 132 132 133 133 if ( $has_font_weight_support ) { 134 $font_weight = gutenberg_typography_get_css_variable_inline_style( $block_attributes, 'fontWeight', 'font-weight' );134 $font_weight = wp_typography_get_css_variable_inline_style( $block_attributes, 'fontWeight', 'font-weight' ); 135 135 if ( $font_weight ) { 136 136 $styles[] = $font_weight; … … 146 146 147 147 if ( $has_text_decoration_support ) { 148 $text_decoration_style = gutenberg_typography_get_css_variable_inline_style( $block_attributes, 'textDecoration', 'text-decoration' );148 $text_decoration_style = wp_typography_get_css_variable_inline_style( $block_attributes, 'textDecoration', 'text-decoration' ); 149 149 if ( $text_decoration_style ) { 150 150 $styles[] = $text_decoration_style; … … 153 153 154 154 if ( $has_text_transform_support ) { 155 $text_transform_style = gutenberg_typography_get_css_variable_inline_style( $block_attributes, 'textTransform', 'text-transform' );155 $text_transform_style = wp_typography_get_css_variable_inline_style( $block_attributes, 'textTransform', 'text-transform' ); 156 156 if ( $text_transform_style ) { 157 157 $styles[] = $text_transform_style;
Note: See TracChangeset
for help on using the changeset viewer.