Changeset 54497 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 10/11/2022 06:42:20 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r54411 r54497 1676 1676 } 1677 1677 1678 // Calculates fluid typography rules where available. 1679 if ( 'font-size' === $css_property ) { 1680 /* 1681 * wp_get_typography_font_size_value() will check 1682 * if fluid typography has been activated and also 1683 * whether the incoming value can be converted to a fluid value. 1684 * Values that already have a clamp() function will not pass the test, 1685 * and therefore the original $value will be returned. 1686 */ 1687 $value = wp_get_typography_font_size_value( array( 'size' => $value ) ); 1688 } 1689 1678 1690 $declarations[] = array( 1679 1691 'name' => $css_property,
Note: See TracChangeset
for help on using the changeset viewer.