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_report.php +5 -2 1.2.4 → 1.5.9 View file →
@@ -21,9 +21,9 @@
21 21 <title><?php echo wp_kses_post($subject); ?></title>
22 22 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
23 23 </head>
24 24
25 -<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="padding: 48px 0;width: 100%; background-color: #f7f7f7; -webkit-text-size-adjust: none;">
25 +<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="padding: 0;width: 100%; background-color: #f7f7f7; -webkit-text-size-adjust: none;">
26 26 <div id="wrapper" dir="ltr" style="max-width: 600px; width:calc(100% - 30px); background-color: #fff; margin: 0 auto;border: 1px solid #dedede;box-shadow: 0 1px 4px rgb(0 0 0 / 10%);">
27 27
28 28 <!-- header -->
29 29 <div class="header" style="background-color: #2671cb;padding: 48px 48px;color: #FFF;">
@@ -39,9 +39,12 @@
39 39 <?php else : ?>
40 40 <?php foreach ($data as $key => $value) : ?>
41 41 <?php if (!empty($value)) : ?>
42 42 <p>
43 - <strong><?php echo esc_html(ucfirst(str_replace('_', ' ', $key))); ?>:</strong> <?php echo wp_kses_post($value); ?><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> <?php echo wp_kses_post($value); ?><br />
44 47 </p>
45 48 <?php endif; ?>
46 49 <?php endforeach; ?>
47 50 <?php endif; ?>