Skip to content

Commit

Permalink
= 4.2.7.5 =
Browse files Browse the repository at this point in the history
  • Loading branch information
tungnxt89 committed Dec 13, 2024
1 parent 4113a86 commit c074324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/admin/meta-box/class-lp-meta-box-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public static function get_field_description( $value ) {

if ( $description && in_array( $value['type'], array( 'textarea', 'radio' ), true ) ) {
$description = '<p style="margin-top:0">' . wp_kses_post( $description ) . '</p>';
} 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 = '<p class="description">' . wp_kses_post( $description ) . '</p>';
Expand Down

0 comments on commit c074324

Please sign in to comment.