Plugin Updates
This commit is contained in:
@@ -67,12 +67,7 @@ class WP_Font_Face_Resolver {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Prepare the fonts array structure for this font-family.
|
||||
if ( ! array_key_exists( $font_family_name, $fonts ) ) {
|
||||
$fonts[ $font_family_name ] = array();
|
||||
}
|
||||
|
||||
$fonts[ $font_family_name ] = static::convert_font_face_properties( $definition['fontFace'], $font_family_name );
|
||||
$fonts[] = static::convert_font_face_properties( $definition['fontFace'], $font_family_name );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user