Changeset 50929 for trunk/src/wp-includes/block-supports/typography.php
- Timestamp:
- 05/19/2021 03:07:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/typography.php
r50761 r50929 80 80 $has_text_transform_support = _wp_array_get( $block_type->supports, array( '__experimentalTextTransform' ), false ); 81 81 82 $skip_font_size_support_serialization = _wp_array_get( $block_type->supports, array( '__experimentalSkipFontSizeSerialization' ), false ); 83 82 84 // Font Size. 83 if ( $has_font_size_support ) {85 if ( $has_font_size_support && ! $skip_font_size_support_serialization ) { 84 86 $has_named_font_size = array_key_exists( 'fontSize', $block_attributes ); 85 87 $has_custom_font_size = isset( $block_attributes['style']['typography']['fontSize'] );
Note: See TracChangeset
for help on using the changeset viewer.