File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments