PluginProbe
WP Directory Kit / 1.5.9
WP Directory Kit v1.5.9
1.5.9 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 All 37 releases
← All changes | application/views/fields_edit/CHECKBOX_MULTIPLE.php +2 -2 1.1.0 → 1.5.9 View file →
@@ -35,13 +35,13 @@
35 35 if(isset($field->is_required) && $field->is_required == 1)
36 36 $required = '*';
37 37
38 38 ?>
39 -<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); ?>">
39 +<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); ?>">
40 40 <label for="<?php echo esc_attr($field_id); ?>"><?php echo esc_html($field_label).esc_html($required); ?></label>
41 41 <div class="wdk-field-container">
42 42 <fieldset>
43 - <legend class="screen-reader-text"><span><?php echo __('Visible on','wpdirectorykit'); ?></span></legend>
43 + <legend class="screen-reader-text"><span><?php echo esc_html__('Visible on','wpdirectorykit'); ?></span></legend>
44 44 <?php foreach($field->values as $field_key => $field_value): ?>
45 45 <input name="<?php echo esc_attr($field_key); ?>" type="checkbox" id="<?php echo esc_attr($field_key); ?>" value="1" <?php echo !empty(wmvc_show_data($field_key, $db_data, ''))?'checked':''; ?>>
46 46 <label for="<?php echo esc_attr($field_key); ?>"><?php echo esc_html($field_value); ?></label>
47 47 <?php endforeach; ?>