Merge pull request #4561 from helgatheviking/fix/duplicate-label-for-settings-checkbox
fix for #4547
This commit is contained in:
commit
15ba1030d6
|
@ -445,7 +445,7 @@ class WC_Admin_Settings {
|
||||||
value="1"
|
value="1"
|
||||||
<?php checked( $option_value, 'yes'); ?>
|
<?php checked( $option_value, 'yes'); ?>
|
||||||
<?php echo implode( ' ', $custom_attributes ); ?>
|
<?php echo implode( ' ', $custom_attributes ); ?>
|
||||||
/> <?php echo wp_kses_post( $value['desc'] ) ?></label> <?php echo $tip; ?>
|
/> <?php echo $description ?></label> <?php echo $tip; ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if ( ! isset( $value['checkboxgroup'] ) || ( isset( $value['checkboxgroup'] ) && $value['checkboxgroup'] == 'end' ) ) {
|
if ( ! isset( $value['checkboxgroup'] ) || ( isset( $value['checkboxgroup'] ) && $value['checkboxgroup'] == 'end' ) ) {
|
||||||
|
|
Loading…
Reference in New Issue