Changeset 52302 for trunk/src/wp-includes/block-supports/typography.php
- Timestamp:
- 12/01/2021 11:14:22 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/typography.php
r52069 r52302 61 61 62 62 /** 63 * Add CSS classes and inline styles for typography features such as font sizes63 * Adds CSS classes and inline styles for typography features such as font sizes 64 64 * to the incoming attributes array. This will be applied to the block markup in 65 65 * the front-end. … … 68 68 * @access private 69 69 * 70 * @param WP_Block_Type $block_type Block type. 71 * @param array $block_attributes Block attributes. 72 * 70 * @param WP_Block_Type $block_type Block type. 71 * @param array $block_attributes Block attributes. 73 72 * @return array Typography CSS classes and inline styles. 74 73 */ … … 193 192 * @param string $feature Key for the feature within the typography styles. 194 193 * @param string $css_property Slug for the CSS property the inline style sets. 195 * 196 * @return string CSS inline style. 194 * @return string CSS inline style. 197 195 */ 198 196 function wp_typography_get_css_variable_inline_style( $attributes, $feature, $css_property ) {
Note: See TracChangeset
for help on using the changeset viewer.