From 3f871bed5a895ee64f076510209558ea016d8bd8 Mon Sep 17 00:00:00 2001 From: Yogesh Sambare <91533131+yssambare12@users.noreply.github.com> Date: Tue, 26 Mar 2024 13:03:52 +0530 Subject: [PATCH] Update class-bsf-custom-fonts-render.php --- classes/class-bsf-custom-fonts-render.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/class-bsf-custom-fonts-render.php b/classes/class-bsf-custom-fonts-render.php index 6f99a39..f0183cd 100644 --- a/classes/class-bsf-custom-fonts-render.php +++ b/classes/class-bsf-custom-fonts-render.php @@ -240,7 +240,7 @@ public function bb_custom_fonts( $bb_fonts ) { if ( ! empty( $fonts ) ) { foreach ( $fonts as $post_id ) { $font_family_name = get_the_title( $post_id ); - // Check if $font_family_name is a non-empty string before adding it to the array + // Check if $font_family_name is a non-empty string before adding it to the array. if ( is_string( $font_family_name ) && ! empty( $font_family_name ) ) { $custom_fonts[ $font_family_name ] = array( 'fallback' => 'Verdana, Arial, sans-serif',