Changeset 57869
- Timestamp:
- 03/23/2024 09:15:28 AM (9 months ago)
- Location:
- branches/6.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.5
-
branches/6.5/src/wp-includes/fonts/class-wp-font-utils.php
r57657 r57869 111 111 ); 112 112 $settings = wp_parse_args( $settings, $defaults ); 113 114 $font_family = mb_strtolower( $settings['fontFamily'] ); 113 if ( function_exists( 'mb_strtolower' ) ) { 114 $font_family = mb_strtolower( $settings['fontFamily'] ); 115 } else { 116 $font_family = strtolower( $settings['fontFamily'] ); 117 } 115 118 $font_style = strtolower( $settings['fontStyle'] ); 116 119 $font_weight = strtolower( $settings['fontWeight'] );
Note: See TracChangeset
for help on using the changeset viewer.