diff options
author | yehuda <yehuda@myinbox.in> | 2019-05-16 12:15:39 +0300 |
---|---|---|
committer | yehuda <yehuda@myinbox.in> | 2019-05-16 12:15:39 +0300 |
commit | 6b0c4d5d97cac613ad8218fc9f0779eec63c28e3 (patch) | |
tree | 3ac2513ad5cb08650b03f55d837cf6b1d578dd21 /postman-smtp.php | |
parent | c88e7ad0b42cefd8fb7b509c8c2e355f567d9434 (diff) | |
parent | 09ad01149ef5981407149bc3c9502058482fb419 (diff) | |
download | Post-SMTP-6b0c4d5d97cac613ad8218fc9f0779eec63c28e3.zip |
Merge remote-tracking branch 'origin/dev'
Diffstat (limited to 'postman-smtp.php')
-rw-r--r-- | postman-smtp.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/postman-smtp.php b/postman-smtp.php index 0b486c8..2413bbd 100644 --- a/postman-smtp.php +++ b/postman-smtp.php @@ -3,7 +3,7 @@ * 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: 1.9.8 + * Version: 2.0.1 * Author: Yehuda Hassine * Text Domain: post-smtp * Author URI: https://postmansmtp.com @@ -40,6 +40,8 @@ define( 'POST_BASE', __FILE__ ); define( 'POST_PATH', __DIR__ ); +define( 'POST_URL', plugins_url('', POST_BASE ) ); +define( 'POST_SMTP_VER', '2.0.1' ); $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', '<' ); @@ -114,7 +116,7 @@ add_action( 'admin_footer', 'post_dismiss_not_configured' ); /** * Create the main Postman class to start Postman * - * @param unknown $startingMemory + * @param mixed $startingMemory */ function post_start( $startingMemory ) { post_setupPostman(); @@ -126,5 +128,5 @@ function post_start( $startingMemory ) { */ function post_setupPostman() { require_once 'Postman/Postman.php'; - $kevinCostner = new Postman( __FILE__, '1.9.8' ); + $kevinCostner = new Postman( __FILE__, POST_SMTP_VER ); } |