PluginProbe
WP Directory Kit / 1.4.8
WP Directory Kit v1.4.8
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 1.4.0 All 36 releases
← All changes | application/views/fields_edit/JSON_READONLY.php +2 -1 1.3.3 → 1.4.8 View file →
@@ -37,9 +37,9 @@
37 37 $required = '*';
38 38
39 39 ?>
40 40
41 -<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); ?>">
41 +<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); ?>">
42 42 <label for="<?php echo esc_attr($field_id); ?>"><?php echo esc_html($field_label).esc_html($required); ?></label>
43 43 <div class="wdk-field-container">
44 44 <span class="regular-span" style="">
45 45 <?php
@@ -49,8 +49,9 @@
49 49 ?>
50 50 <?php foreach ($json_data as $key => $value) : ?>
51 51 <?php if(in_array(strtolower($key), array('element_id','eli_id','eli_type','eli_page_id','action','message'))) continue;?>
52 52 <?php if (!empty($value)) : ?>
53 + <?php if(in_array($key, array('eli_id', 'eli_type','ID','filter','action','send_action_type', 'g-recaptcha-response'))) continue; ?>
53 54 <p>
54 55 <?php if(filter_var($value, FILTER_VALIDATE_URL ) || strpos( $value, 'http' ) !== FALSE):?>
55 56 <strong><?php echo esc_html__(ucfirst(str_replace('_', ' ', $key)),'wpdirectorykit'); ?>:</strong> <a href="<?php echo esc_url($value);?>"><?php echo wp_kses_post($value); ?></a><br />
56 57 <?php else : ?>