Version Description
- 2018-04-19
- Remove Beta Woocommerce integration
- Better check for WPML less then version 3.9
Download this release
Release Info
Developer | yehudah |
Plugin | Post SMTP Mailer/Email Log |
Version | 1.8.5 |
Comparing to | |
See all releases |
Code changes from version 1.8.4 to 1.8.5
- Postman/Postman.php +16 -8
- postman-smtp.php +2 -2
- readme.txt +9 -1
Postman/Postman.php
CHANGED
@@ -54,7 +54,7 @@ class Postman {
|
|
54 |
require_once 'PostmanConfigTextHelper.php';
|
55 |
require_once 'Postman-Email-Log/PostmanEmailLogPostType.php';
|
56 |
require_once 'Postman-Mail/PostmanMyMailConnector.php';
|
57 |
-
require_once 'Postman-Mail/PostmanWooCommerce.php';
|
58 |
|
59 |
// get plugin metadata - alternative to get_plugin_data
|
60 |
$this->pluginData = array(
|
@@ -107,7 +107,7 @@ class Postman {
|
|
107 |
new PostmanMyMailConnector( $rootPluginFilenameAndPath );
|
108 |
|
109 |
// WooCommerce Integration
|
110 |
-
new PostmanWoocommerce();
|
111 |
|
112 |
// register the shortcode handler on the add_shortcode event
|
113 |
add_shortcode( 'postman-version', array(
|
@@ -121,12 +121,19 @@ class Postman {
|
|
121 |
'on_plugins_loaded',
|
122 |
) );
|
123 |
|
124 |
-
|
125 |
-
|
126 |
-
|
|
|
|
|
127 |
|
128 |
-
|
129 |
-
|
|
|
|
|
|
|
|
|
|
|
130 |
}
|
131 |
|
132 |
// hook on the wp_loaded event
|
@@ -151,7 +158,7 @@ class Postman {
|
|
151 |
public function post_smtp_wpml_admin_notice() {
|
152 |
$class = 'notice notice-error';
|
153 |
$title = __( 'Post SMTP notice!', Postman::TEXT_DOMAIN );
|
154 |
-
$intro = __( 'WPML is installed and has a known bug with Post SMTP and few other plugins.', Postman::TEXT_DOMAIN );
|
155 |
$text = __( 'Click here to fix', Postman::TEXT_DOMAIN );
|
156 |
$message = '<br><a href="' . esc_url( add_query_arg( 'action', 'postman_fix_wpml', get_permalink() ) ) . '">' . $text . '</a>';
|
157 |
|
@@ -458,3 +465,4 @@ if ( ! function_exists( 'str_getcsv' ) ) {
|
|
458 |
return PostmanUtils::postman_strgetcsv_impl( $string );
|
459 |
}
|
460 |
}
|
|
54 |
require_once 'PostmanConfigTextHelper.php';
|
55 |
require_once 'Postman-Email-Log/PostmanEmailLogPostType.php';
|
56 |
require_once 'Postman-Mail/PostmanMyMailConnector.php';
|
57 |
+
//require_once 'Postman-Mail/PostmanWooCommerce.php';
|
58 |
|
59 |
// get plugin metadata - alternative to get_plugin_data
|
60 |
$this->pluginData = array(
|
107 |
new PostmanMyMailConnector( $rootPluginFilenameAndPath );
|
108 |
|
109 |
// WooCommerce Integration
|
110 |
+
//new PostmanWoocommerce();
|
111 |
|
112 |
// register the shortcode handler on the add_shortcode event
|
113 |
add_shortcode( 'postman-version', array(
|
121 |
'on_plugins_loaded',
|
122 |
) );
|
123 |
|
124 |
+
/**
|
125 |
+
* @todo: WPML say they fix the issue in version 3.9
|
126 |
+
* https://wordpress.org/support/topic/error-in-pluggable-php173/#post-10021301
|
127 |
+
*/
|
128 |
+
if ( get_option( 'icl_sitepress_version' ) && version_compare( get_option( 'icl_sitepress_version' ), '3.9', '<' ) ) {
|
129 |
|
130 |
+
$active_plugins = (array)get_option('active_plugins', array());
|
131 |
+
if (in_array('sitepress-multilingual-cms/sitepress.php', $active_plugins) && !get_option('postman_wpml_fixed')) {
|
132 |
+
add_action('admin_notices', array($this, 'post_smtp_wpml_admin_notice'));
|
133 |
+
|
134 |
+
// Temp: Just a quick solution, need to find a better option.
|
135 |
+
add_action('admin_init', array($this, 'postman_fix_wpml'));
|
136 |
+
}
|
137 |
}
|
138 |
|
139 |
// hook on the wp_loaded event
|
158 |
public function post_smtp_wpml_admin_notice() {
|
159 |
$class = 'notice notice-error';
|
160 |
$title = __( 'Post SMTP notice!', Postman::TEXT_DOMAIN );
|
161 |
+
$intro = __( 'WPML is installed and has a known bug with Post SMTP and few other plugins - you better upgrade, but we can try to fix it.', Postman::TEXT_DOMAIN );
|
162 |
$text = __( 'Click here to fix', Postman::TEXT_DOMAIN );
|
163 |
$message = '<br><a href="' . esc_url( add_query_arg( 'action', 'postman_fix_wpml', get_permalink() ) ) . '">' . $text . '</a>';
|
164 |
|
465 |
return PostmanUtils::postman_strgetcsv_impl( $string );
|
466 |
}
|
467 |
}
|
468 |
+
|
postman-smtp.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Post SMTP
|
5 |
* Plugin URI: https://wordpress.org/plugins/post-smtp/
|
6 |
* 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!
|
7 |
-
* Version: 1.8.
|
8 |
* Author: Jason Hendriks, Yehuda Hassine
|
9 |
* Text Domain: post-smtp
|
10 |
* Author URI: https://postmansmtp.com
|
@@ -99,5 +99,5 @@ function post_start( $startingMemory ) {
|
|
99 |
*/
|
100 |
function post_setupPostman() {
|
101 |
require_once 'Postman/Postman.php';
|
102 |
-
$kevinCostner = new Postman( __FILE__, '1.8.
|
103 |
}
|
4 |
* Plugin Name: Post SMTP
|
5 |
* Plugin URI: https://wordpress.org/plugins/post-smtp/
|
6 |
* 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!
|
7 |
+
* Version: 1.8.5
|
8 |
* Author: Jason Hendriks, Yehuda Hassine
|
9 |
* Text Domain: post-smtp
|
10 |
* Author URI: https://postmansmtp.com
|
99 |
*/
|
100 |
function post_setupPostman() {
|
101 |
require_once 'Postman/Postman.php';
|
102 |
+
$kevinCostner = new Postman( __FILE__, '1.8.5' );
|
103 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehuda@m
|
|
4 |
Tags: postman smtp, postman, smtp, email, mail, mailer, email log, oauth2, gmail, google apps, hotmail, yahoo, mandrill api, sendgrid api, elastic email, office365, mailgun
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.9.5
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,6 +12,9 @@ Send, log and troubleshoot your Outgoing Email easily. Supports everything: SMTP
|
|
12 |
|
13 |
== Description ==
|
14 |
|
|
|
|
|
|
|
15 |
= WordPress Mail SMTP Plugin =
|
16 |
|
17 |
= Postman SMTP is back! =
|
@@ -293,6 +296,11 @@ To avoid being flagged as spam, you need to prove your email isn't forged. On a
|
|
293 |
|
294 |
|
295 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
296 |
= 1.8.4 - 2018-04-18
|
297 |
* New: Multiple notification options to failed emails
|
298 |
* Upgrade: The Gmail code was upgraded and code change to support large attachments
|
4 |
Tags: postman smtp, postman, smtp, email, mail, mailer, email log, oauth2, gmail, google apps, hotmail, yahoo, mandrill api, sendgrid api, elastic email, office365, mailgun
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.9.5
|
7 |
+
Stable tag: 1.8.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
= Version 1.8.5 released =
|
16 |
+
Making Post SMTP the best Gmail client for WordPress, and a notification feature for failed emails. [Read the detailes here](https://postmansmtp.com/post-smtp-1-8-4-best-wordpress-gmail-client/)
|
17 |
+
|
18 |
= WordPress Mail SMTP Plugin =
|
19 |
|
20 |
= Postman SMTP is back! =
|
296 |
|
297 |
|
298 |
== Changelog ==
|
299 |
+
|
300 |
+
= 1.8.5 - 2018-04-19
|
301 |
+
* Remove Beta Woocommerce integration
|
302 |
+
* Better check for WPML less then version 3.9
|
303 |
+
|
304 |
= 1.8.4 - 2018-04-18
|
305 |
* New: Multiple notification options to failed emails
|
306 |
* Upgrade: The Gmail code was upgraded and code change to support large attachments
|