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/email/new_claim.php +8 -2 1.5.3 → 1.5.9 View file →
@@ -39,11 +39,17 @@
39 39 <?php else : ?>
40 40 <?php foreach ($data as $key => $value) : ?>
41 41 <?php if (!empty($value)) : ?>
42 42 <?php if(filter_var($value, FILTER_VALIDATE_URL ) || strpos( $value, 'http' ) !== FALSE):?>
43 - <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 />
43 + <strong><?php
44 + // Dynamic field values are registered in the translation catalog separately.
45 + // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText
46 + echo esc_html__(ucfirst(str_replace('_', ' ', $key)), 'wpdirectorykit'); ?>:</strong> <a href="<?php echo esc_url($value);?>"><?php echo wp_kses_post($value); ?></a><br />
44 47 <?php else : ?>
45 - <strong><?php echo esc_html__(ucfirst(str_replace('_', ' ', $key)), 'wpdirectorykit'); ?>:</strong> <?php echo wp_kses_post($value); ?><br />
48 + <strong><?php
49 + // Dynamic field values are registered in the translation catalog separately.
50 + // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText
51 + echo esc_html__(ucfirst(str_replace('_', ' ', $key)), 'wpdirectorykit'); ?>:</strong> <?php echo wp_kses_post($value); ?><br />
46 52 <?php endif; ?>
47 53 <p>
48 54
49 55 </p>