| @@ -40,13 +40,13 @@ | ||
| 40 | 40 | if(isset($field->default) && $field->default == 1) |
| 41 | 41 | $default = '1'; |
| 42 | 42 | |
| 43 | 43 | ?> |
| 44 | -<div class="wdk-field-edit <?php echo esc_attr($field->field_type); ?> wdk-col-<?php echo esc_attr($field->columns_number); ?> <?php echo esc_attr($field->class); ?>"> | |
| 44 | +<div class="wdk-field-<?php echo esc_attr($field_id);?> wdk-field-edit <?php echo esc_attr($field->field_type); ?> wdk-col-<?php echo esc_attr($field->columns_number); ?> <?php echo esc_attr($field->class); ?>"> | |
| 45 | 45 | <label for="<?php echo esc_attr($field_id); ?>"><?php echo esc_html($field_label).esc_html($required); ?></label> |
| 46 | 46 | <div class="wdk-field-container"> |
| 47 | 47 | <fieldset> |
| 48 | - <legend class="screen-reader-text"><span><?php echo __('Visible on','wpdirectorykit'); ?></span></legend> | |
| 48 | + <legend class="screen-reader-text"><span><?php echo esc_html__('Visible on','wpdirectorykit'); ?></span></legend> | |
| 49 | 49 | <label for="<?php echo esc_attr($field_id); ?>"> |
| 50 | 50 | <input name="<?php echo esc_attr($field_id); ?>" type="checkbox" id="<?php echo esc_attr($field_id); ?>" value="1" <?php echo !empty(wmvc_show_data($field_id, $db_data, $default))?'checked':''; ?>> |
| 51 | 51 | </label> |
| 52 | 52 | </fieldset> |