Skip to content

Commit 5e7a2bd

Browse files
committed
cs-fixes
1 parent 327ab13 commit 5e7a2bd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

classes/class-custom-typekit-fonts-render.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -240,18 +240,18 @@ function bb_custom_fonts( $bb_fonts ) {
240240
*/
241241
function remove_typekit_font_google_url( $fonts ) {
242242

243-
$kit_list = get_option( 'custom-typekit-fonts' );
243+
$kit_list = get_option( 'custom-typekit-fonts' );
244244

245245
if ( $kit_list ) {
246-
foreach ( $kit_list['custom-typekit-font-details'] as $key => $value ) {
247-
$font_key = "'" . $value['family'] . "'" . ',' . $value['fallback'];
248-
if ( array_key_exists( $font_key, $fonts ) ) {
249-
unset($fonts[$font_key]);
250-
}
251-
}
246+
foreach ( $kit_list['custom-typekit-font-details'] as $key => $value ) {
247+
$font_key = "'" . $value['family'] . "'" . ',' . $value['fallback'];
248+
if ( array_key_exists( $font_key, $fonts ) ) {
249+
unset( $fonts[ $font_key ] );
250+
}
251+
}
252252
}
253-
254-
return $fonts;
253+
254+
return $fonts;
255255
}
256256
}
257257

0 commit comments

Comments
 (0)