From 0c1f84b79c768e695fff224730b823517d3c5cc9 Mon Sep 17 00:00:00 2001 From: yehudah Date: Tue, 20 Aug 2019 21:28:32 +0000 Subject: Securty Fixes --- Postman/PostmanOptions.php | 10 ---------- postman-smtp.php | 4 ++-- readme.txt | 11 +++++++---- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/Postman/PostmanOptions.php b/Postman/PostmanOptions.php index d890124..e2e78d6 100644 --- a/Postman/PostmanOptions.php +++ b/Postman/PostmanOptions.php @@ -167,14 +167,6 @@ if ( ! class_exists( 'PostmanOptions' ) ) { $this->load(); } - public function __call($method, $args) - { - if (isset($this->$method)) { - $func = $this->$method; - return call_user_func_array($func, $args); - } - } - public function save() { update_option( PostmanOptions::POSTMAN_OPTIONS, $this->options ); } @@ -200,8 +192,6 @@ if ( ! class_exists( 'PostmanOptions' ) ) { restore_current_blog(); } - do_action( 'post_smtp_options_load', $this ); - $this->options = $options; } diff --git a/postman-smtp.php b/postman-smtp.php index effa6a8..c0dbcc7 100644 --- a/postman-smtp.php +++ b/postman-smtp.php @@ -6,7 +6,7 @@ if ( ! defined( 'ABSPATH' ) ) { * Plugin Name: Post SMTP * Plugin URI: https://wordpress.org/plugins/post-smtp/ * Description: Email not reliable? Post SMTP is the first and only WordPress SMTP plugin to implement OAuth 2.0 for Gmail, Hotmail and Yahoo Mail. Setup is a breeze with the Configuration Wizard and integrated Port Tester. Enjoy worry-free delivery even if your password changes! - * Version: 2.0.2 + * Version: 2.0.3 * Author: Yehuda Hassine * Text Domain: post-smtp * Author URI: https://postmansmtp.com @@ -44,7 +44,7 @@ if ( ! defined( 'ABSPATH' ) ) { define( 'POST_BASE', __FILE__ ); define( 'POST_PATH', __DIR__ ); define( 'POST_URL', plugins_url('', POST_BASE ) ); -define( 'POST_SMTP_VER', '2.0.2' ); +define( 'POST_SMTP_VER', '2.0.3' ); $postman_smtp_exist = in_array( 'postman-smtp/postman-smtp.php', (array) get_option( 'active_plugins', array() ) ); $required_php_version = version_compare( PHP_VERSION, '5.6.0', '<' ); diff --git a/readme.txt b/readme.txt index 3a353da..13bd9e4 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: yehudah Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehuda@myinbox.in&item_name=Donation+for+PostSMTP Tags: postman smtp, postman, smtp, email, mail, mailer, email log, oauth2, gmail, google apps, hotmail, yahoo, mandrill api, sendgrid api, elastic email, office365, mailgun Requires at least: 3.9 -Tested up to: 5.2 -Stable tag: 2.0.2 +Tested up to: 5.2.2 +Stable tag: 2.0.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -12,8 +12,8 @@ Send, log and troubleshoot your Outgoing Email easily. Supports everything: SMTP == Description == -= Version 2.0.2 released - Sendgrid code fix and default delivery changes = -[Read the detailes here](https://postmansmtp.com/post-smtp-2-0-2-sendgrid-code-fix/) += Version 2.0.3 released - Security Fix = +I fixed a few security issues - I still need to fix one more thing (minor), so another version bump will coming soon. = The Only SMTP plugin with chrome Notifications = Get notified if your emails are failing inside your Chrome browser. [Download here](https://chrome.google.com/webstore/detail/post-smtp-notifications/npklmbkpbknkmbohdbpikeidiaekjoch?hl=en-US) @@ -289,6 +289,9 @@ To avoid being flagged as spam, you need to prove your email isn't forged. On a == Changelog == += 2.0.3 - 2019-08-21 +* Fixed: A few security issues. + = 2.0.2 - 2019-05-19 * Fixed: Sendgrid code fix. * Fixed: Default method (nothing configured) will use the default mail on the server and not SMTP. -- cgit v1.2.3