Merge pull request #4561 from helgatheviking/fix/duplicate-label-for-settings-checkbox

fix for #4547
This commit is contained in:
Mike Jolley 2014-01-22 07:03:23 -08:00
commit 15ba1030d6
1 changed files with 1 additions and 1 deletions

View File

@ -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' ) ) {