diff options
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 ); } |