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/UPLOAD_FILE.php +4 -2 1.3.1 → 1.5.9 View file →
@@ -36,12 +36,14 @@
36 36 ?>
37 37 <?php
38 38 wp_enqueue_script('wpmediaelement_file');
39 39 ?>
40 -<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); ?>">
40 +<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); ?>">
41 41 <label for="<?php echo esc_attr($field_id); ?>"><?php echo esc_html($field_label).esc_html($required); ?></label>
42 42 <div class="wdk-field-container">
43 - <?php echo wdk_upload_file($field_id, wmvc_show_data($field_id, $db_data, '')); ?>
43 + <?php
44 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped, WordPress.WP.I18n.NonSingularStringLiteralText
45 + echo wdk_upload_file($field_id, wmvc_show_data($field_id, $db_data, '')); ?>
44 46 <?php if(!empty($field->hint)):?>
45 47 <p class="wdk-hint">
46 48 <?php echo esc_html($field->hint); ?>
47 49 </p>