Modified checkbox class value from widefat

This commit is contained in:
Shiva Poudel 2015-12-05 05:26:28 +05:45
parent 69d6a25f5e
commit 88d7713a86
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ abstract class WC_Widget extends WP_Widget {
case 'checkbox' :
?>
<p>
<input class="widefat <?php echo esc_attr( $class ); ?>" id="<?php echo esc_attr( $this->get_field_id( $key ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( $key ) ); ?>" type="checkbox" value="1" <?php checked( $value, 1 ); ?> />
<input class="checkbox <?php echo esc_attr( $class ); ?>" id="<?php echo esc_attr( $this->get_field_id( $key ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( $key ) ); ?>" type="checkbox" value="1" <?php checked( $value, 1 ); ?> />
<label for="<?php echo $this->get_field_id( $key ); ?>"><?php echo $setting['label']; ?></label>
</p>
<?php