Modified checkbox class value from widefat
This commit is contained in:
parent
69d6a25f5e
commit
88d7713a86
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue