From c074324808b74a761240b1ca0082de7d9f4f0829 Mon Sep 17 00:00:00 2001 From: Tungnx Date: Fri, 13 Dec 2024 16:30:41 +0700 Subject: [PATCH] = 4.2.7.5 = --- inc/admin/meta-box/class-lp-meta-box-helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/admin/meta-box/class-lp-meta-box-helper.php b/inc/admin/meta-box/class-lp-meta-box-helper.php index afa975e6c..34cae5d08 100644 --- a/inc/admin/meta-box/class-lp-meta-box-helper.php +++ b/inc/admin/meta-box/class-lp-meta-box-helper.php @@ -266,7 +266,7 @@ public static function get_field_description( $value ) { if ( $description && in_array( $value['type'], array( 'textarea', 'radio' ), true ) ) { $description = '

' . wp_kses_post( $description ) . '

'; - } elseif ( $description && in_array( $value['type'], array( 'checkbox' ), true ) ) { + } elseif ( $description && in_array( $value['type'], array( 'checkbox', 'yes-no' ), true ) ) { $description = wp_kses_post( $description ); } elseif ( $description ) { $description = '

' . wp_kses_post( $description ) . '

';