- Timestamp:
- 02/27/2024 12:04:55 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/fonts/class-wp-font-face-resolver.php
r56688 r57720 68 68 } 69 69 70 // Prepare the fonts array structure for this font-family. 71 if ( ! array_key_exists( $font_family_name, $fonts ) ) { 72 $fonts[ $font_family_name ] = array(); 73 } 74 75 $fonts[ $font_family_name ] = static::convert_font_face_properties( $definition['fontFace'], $font_family_name ); 70 $fonts[] = static::convert_font_face_properties( $definition['fontFace'], $font_family_name ); 76 71 } 77 72 }
Note: See TracChangeset
for help on using the changeset viewer.