diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-08-27 21:23:41 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-08-27 21:23:41 +0000 |
commit | 6372e454198ed7a1a792b5bfd286af1178ae7d63 (patch) | |
tree | fc8259384657cfebd76be774abd214f17eea680c /Postman/Postman.php | |
parent | 69ef56ca57030e9c76e03ea937c9bdef1a4a3750 (diff) | |
download | Post-SMTP-6372e454198ed7a1a792b5bfd286af1178ae7d63.zip |
Security and bugs
Diffstat (limited to 'Postman/Postman.php')
-rw-r--r-- | Postman/Postman.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Postman/Postman.php b/Postman/Postman.php index 0f36edf..51b2ab1 100644 --- a/Postman/Postman.php +++ b/Postman/Postman.php @@ -91,7 +91,7 @@ class Postman { } if ( isset( $_REQUEST ['page'] ) && $this->logger->isTrace() ) { - $this->logger->trace( 'Current page: ' . $_REQUEST ['page'] ); + $this->logger->trace( 'Current page: ' . sanitize_text_field($_REQUEST ['page']) ); } // register the email transports @@ -369,9 +369,9 @@ class Postman { <?php _e('Post SMTP v2 includes and new feature called: <b>Mailer Type</b>.', 'post-smtp' ); ?><br> <?php _e('I highly recommend to change and <strong>TEST</strong> Post SMTP with the value <code>PHPMailer</code>.', 'post-smtp' ); ?><br> <?php _e('if it will not work properly you can change back to the default value: <code>PostSMTP</code>.', 'post-smtp' ); ?><br> - <a target="_blank" href="<?php echo POST_URL; ?>/style/images/mailer-type.gif"> + <a target="_blank" href="<?php echo POST_SMTP_URL; ?>/style/images/mailer-type.gif"> <figure> - <img width="180" src="<?php echo POST_URL; ?>/style/images/mailer-type.gif" alt="how to set mailer type"> + <img width="180" src="<?php echo POST_SMTP_URL; ?>/style/images/mailer-type.gif" alt="how to set mailer type"> <figcaption><?php _e('click to enlarge image.', 'post-smtp' ); ?></figcaption> </figure> </a> |