PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/dynamics/sendmail/plugin.php +8 -10 10.11.1 → 11.1.0 View file →
@@ -23,22 +23,20 @@
23 23 }
24 24
25 25 public function onAcymGetSendingMethodsHtmlSetting(&$data)
26 26 {
27 - ob_start();
28 27 ?>
29 - <div class="send_settings grid-x cell" id="<?php echo self::SENDING_METHOD_ID; ?>_settings">
28 + <div class="send_settings grid-x cell" id="<?php echo esc_attr(self::SENDING_METHOD_ID); ?>_settings">
30 29 <div class="cell grid-x acym_vcenter acym__sending__methods__one__settings">
31 - <label for="<?php echo self::SENDING_METHOD_ID; ?>_path" class="cell">
32 - <?php echo acym_translation('ACYM_SENDMAIL_PATH'); ?>
30 + <label for="<?php echo esc_attr(self::SENDING_METHOD_ID); ?>_path" class="cell">
31 + <?php echo esc_html(acym_translation('ACYM_SENDMAIL_PATH')); ?>
33 32 </label>
34 - <input id="<?php echo self::SENDING_METHOD_ID; ?>_path"
35 - class="cell"
36 - type="text"
37 - name="config[<?php echo self::SENDING_METHOD_ID; ?>_path]"
38 - value="<?php echo acym_escape($this->config->get(self::SENDING_METHOD_ID.'_path', '/usr/sbin/sendmail')); ?>">
33 + <input id="<?php echo esc_attr(self::SENDING_METHOD_ID); ?>_path"
34 + class="cell"
35 + type="text"
36 + name="config[<?php echo esc_attr(self::SENDING_METHOD_ID); ?>_path]"
37 + value="<?php echo esc_attr($this->config->get(self::SENDING_METHOD_ID.'_path', '/usr/sbin/sendmail')); ?>">
39 38 </div>
40 39 </div>
41 40 <?php
42 - $data['sendingMethodsHtmlSettings'][self::SENDING_METHOD_ID] = ob_get_clean();
43 41 }
44 42 }